Forums > Max For Live

prepend/append without spaces.

June 2, 2012 | 10:31 am

Is there an object that I can use that let’s me prepend without adding the space between the messages.
I cannot use ‘sprintf’ object as the I the content I needed to be prepended changes.
At the moment I am using this long-winded process of filtering out the spaces, is there an easier way?
Thanks.

– Pasted Max Patch, click to expand. –

June 2, 2012 | 12:26 pm

Filtering out the spaces can easily be done with regexp.

– Pasted Max Patch, click to expand. –

June 2, 2012 | 4:31 pm

or if you just want to prepend some variable thing with no space, the "combine" object is probably what you seek.

– Pasted Max Patch, click to expand. –

June 2, 2012 | 8:55 pm

combine gets to the root of the problem. Thanks..


June 3, 2012 | 5:55 pm

sprintf is another option


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