Notifications
Clear all

[Closed] how can use " as a character in maxscript

hello , im newbie in maxscript , i have a problem , i try to add ” in to a string but i can not

2 Replies

you have to “protect” special characters inside a string by putting a backslash in front of them

like this:

myString = "My name is \"Joe\", got it ?"

the backslash in front protects the ” character from being interpreted as the start/end of a string. There are other special characters as well, see the link posted in the previous message for a list