[PD] search list

Krzysztof Czaja czaja at chopin.edu.pl
Mon Feb 2 16:24:12 CET 2004


[zl sub] is better, perhaps, since it outputs an index of the
matching atom(s).  There is also [match], which might be more
handy, because a pattern is accepted as argument(s), e.g.
[match test] fires when one of the list's atoms is 'test'.

In case substrings (parts of atoms) are to be matched, the
sequence [spell] -> [sprintf %c] -> [match t e s t] might do.


CK wrote:
>>is there a method to search in a list for a specific string . .. ?
> cyclone's [zl] has a sect mode that could be used for that, it will

More information about the Pd-list mailing list