Forums > MaxMSP

remove a /symbol directly in front of an integer

Oct 18 2011 | 6:48 pm

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 …

Oct 18 2011 | 7:12 pm

For example like this.

-- Pasted Max Patch, click to expand. --

Oct 18 2011 | 7:19 pm

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

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP