message split

Feb 25, 2012 at 7:09pm

message split

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 : )

#61976
Feb 25, 2012 at 7:50pm

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. –
#223831
Feb 25, 2012 at 9:03pm

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

yay !
: P

#223832

You must be logged in to reply to this topic.