remove slashes from OSC data?

snerk4000's icon

before anyone tears my life apart for not reading the docs, i looked at as much as i could in the reference and googled for a while, and i can't get this done without a push from someone smarter than me.

i have an experimental iphone touchOSC multiselector going.

messages are coming in as /page/multipush/row/column state, eg /1/mp1/3/7 0.
is there a simple way to turn this into a list of [screenitem row column state]? eg 1 3 7 0

i've put OSC-route in and tried a few other things, i can unpack the numbers but i can't get rid of the / chars. at all. regexp is literally alien to me so if there's a way to avoid it that'd help, unless it's the easiest way.

thanks for any help!

Hugobox's icon

Try [fromsymbol @separator /], it should remove all the slashes.

snerk4000's icon

fantastic. thanks man.

schedel's icon

saved me tonight