Don't know if it is what you are looking for. ++
Jack
Le mardi 10 août 2010 à 11:07 +0100, João Pais a écrit :
I've looked into this. I see two problems:
- this would be for the "famous" patch that I'm sending around. Since it's
for non-pd users, I should limit myself to pd-ext objects - or I would
have to ship gridflow with it, which might not be legal (don't know), but
anyway isn't practical.
- I couldn't understand how to go from x/y (x and y being any natural
numbers) to any other string format that I could use with [sel]. as I
understood, string replace doesn't take spaces or expressions like "a " as
parameter. In the cases I'm thinking of, the character to be detected is
always in the middle. For now I'm using charaters / and :, like 7/8 or
1:13.Joao
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