[PD] detect character in a symbol?

Mathieu Bouchard matju at artengine.ca
Sun Aug 8 08:02:55 CEST 2010


On Sat, 7 Aug 2010, João Pais wrote:

> a quick question: I wanted to detect a character in a symbol, in order 
> to route that symbol in a different way. Afaik, there is no object that 
> does that, so the only way would be to decompose the symbol in ascii 
> values, and then detect it.

you can use [gf/string_replace] to replace one character by any other and 
then you use [sel] to see whether you get a different symbol.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801


More information about the Pd-list mailing list