Forums > MaxMSP

Remove text from end of symbol

February 19, 2014 | 3:12 am

Hi there, I hope this hasn’t been answered elsewhere but I cannot find a solution to the problem I’m having.

It’s a fairly simple problem. Essentially, I want to remove some text from a symbol that is obtained from sending a path message to a thispatcher object. This outputs something like:


I want to take this symbol and remove the /Patches from the end so that it becomes:


Then I want to append text to the end so that it finally becomes:


I’ve managed to append text using the combine object, but I can’t work out how to delete a bit of the text first.

Any ideas?

February 19, 2014 | 3:41 am

Maybe this:

— Pasted Max Patch, click to expand. —


February 19, 2014 | 3:51 am

That works perfectly, thank you Patrick!

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

Forums > MaxMSP