remove a /symbol directly in front of an integer

Oct 18, 2011 at 6:48pm

remove a /symbol directly in front of an integer

When recieving OSC messages in Max I have a multiobject. It sends /1/multiobject1/1 “value”. I some cases I don’t need the value, but the object number (the last in the name). After OSC-route /1/multiobject1, I get list: /1 “value” or /2 “value”, and so on. With unpack I retrieve the first number, but how can I get rid of that slash? I just need the number …

#59412
Oct 18, 2011 at 7:12pm

For example like this.

– Pasted Max Patch, click to expand. –
#213804
Oct 18, 2011 at 7:19pm

Yahoo! Thank you very mucht! That would have taken me a week to find out! This community is truely great!

#213805

You must be logged in to reply to this topic.