splitting string

cdriko's icon

hello
I'm looking for a method to analysing a string
to extract elements of its as list, with a separator filter
(like the "explode" method in other languages)

for exmple I want to extract from a string :
"city_day_hour"
a list :
city day hour

I've tryed with fromsymbol object , but it doesn't work

anibody know how can I do?

yacine's icon

download and install jasch objects.
this set of externals contains very usefull objects to manipulate strings in any way.

//yac

nick rothwell | project cassiel's icon

[regexp] will do this (and more), although you'll need to learn
regular expression syntax.

    -- N.

nick rothwell -- composition, systems, performance -- http://
www.cassiel.com

jonathan lee marcus's icon
Max Patch
Copy patch and select New From Clipboard in Max.


cdriko's icon

thank you very much for your help...
I was lost in the perl synthax labyrinth;)

Stefan Tiedje's icon