Forums > MaxMSP

message split


Feb 25 2012 | 7:09 pm

hi :)

Is there a object that can split a message:

A1-1-7

out of two ports

port 1 = A1-1-

and

port 2 = 7

thanks for help : )


yp
Feb 25 2012 | 7:50 pm

You can do it with a regexp and sprintf combo, as in the following patch.
Do you really want to send the second hyphen (after the 1) as well? otherwise delete the second hyphen in the sprintf object.

cheers


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

Feb 25 2012 | 9:03 pm

That is awesome, thanks allot yp , would have took me ages to find that out : )

yay !
: P

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

Forums > MaxMSP