Forums > MaxMSP

parsing messages


March 4, 2014 | 7:36 am

Hello,

I am trying to parse messages sent from Processing that contain numbers, dots, commas and backslashes. How can I filter all symbols except for the numbers?

Thanks
K

March 4, 2014 | 10:17 am

When I connect the data I receive to a message object with a prepend set, it looks like this:

1\, 0\, 5\, 23\, 11\, 0

How can I get rid of the \’s and ,’s ?

March 4, 2014 | 11:45 pm

Maybe like this:

<code>

— Pasted Max Patch, click to expand. —

</code>

March 5, 2014 | 12:27 am

thanks! i hate regexp!

March 5, 2014 | 12:54 am

Here’s a little different take.

<code>

— Pasted Max Patch, click to expand. —

</code>

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

Forums > MaxMSP