Duplicate the first item in a message

The prepend object allows you to concatenate two messages. The argument(s) of prepend will be placed before whatever comes in the inlet (with a space separating the two), and the combined message is then sent out the outlet.

This example shows how you could duplicate the first item in any message. We use the $1 argument of the message box to isolating the first item in a message, then we prepend it to the original message. The example also shows how a message can be placed in a text file using the text object.

Chapter: 
Keywords: