prepend/append without spaces.

Jun 2, 2012 at 10:31am

prepend/append without spaces.

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. –
#56366
Jun 2, 2012 at 12:26pm

Filtering out the spaces can easily be done with regexp.

– Pasted Max Patch, click to expand. –
#202178
Jun 2, 2012 at 4:31pm

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. –
#202179
Jun 2, 2012 at 8:55pm

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

#202180
Jun 3, 2012 at 5:55pm

sprintf is another option

#202181

You must be logged in to reply to this topic.