How to use special characters in MAX

Maciej Lis's icon

Hi,

I would like to use special characters like tabulation character in max. If I have message like this "foo|bar|baz" how I can change the "|" character to tabulation char?

Jan M's icon

the is a [regex] object for regual expressions. but tabs might be substituted/treated with/as regular withe spaces.

Maciej Lis's icon

Thank's Jan for answer. I am aware of regex object. Sorry but you did not answer my question. Which is how to use special characters in max like tabulation.

hz37's icon

[text] understands the [tab] message. You can double click the [text] object to see its contents, tabs and all. The [text] helpfile shows how to get a tab into your text.

Rick's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Another option would be to change the unicode for "|" from 124 to 9 the unicode for 'tab'.

Maciej Lis's icon

@RICK This is what I need thanks a lot.

Although it is such a shame that Max does not have way to escape special characters.