How to filter Max message (symbol, integrer...) ?

all's icon

Hi,

How to obtain (or to separate), from a message with two types of datas (1 symbol and 1 integrer, ex : "aaa 98"), only the data symbol in 1 new message ("aaa") and the data integrer in 1 new message ("98").
Some is its position in the message +++ (I would like this work fine with message "aaa 98" or "98 aaa").

Does it exist a Max object to filter type of data in a message ?

Thank you

Alexandre

moze's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Like that?

Inear's icon

To work both with "aaa 98" or "98 aaa" you could use unjoin or maybe regexp (to know which message is the int or the symbol).

diablodale's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Perhaps this will work for you. It doesn't require any ordering of the data in the incoming message.

all's icon

Hi,

Thank you, the last option work fine.

Alexandre