Message: remove a space

Nov 22, 2011 at 2:19am

Message: remove a space

Hi all,

This may be trivial, but though I’d ask as its pretty quick answer for someone who know’s how to do it.

Want to go from “Device On” to DeviceOn (without brackets and no space) in a message.
All i need is to convert the message by getting rid of the brackets and the space btw the words.

Thanks for the help
Protocol

#60098
Nov 22, 2011 at 2:32am

[sprintf] will do it for you

#216368
Nov 22, 2011 at 2:49am

i know how to get sprintf to join but how do you get it to remove the brackets? cause with the brackets it takes it as 1 variable input

#216369
Nov 22, 2011 at 3:18am

oh! I missed that part :)

use [fromsymbol] to get rid of the “”

– Pasted Max Patch, click to expand. –
#216370
Nov 22, 2011 at 3:07pm

Thanks a bunch! Just added another object to my toolbelt!

#216371

You must be logged in to reply to this topic.