3ds Max lets you use any characters you want in object names, including spaces and other MAXScript punctuation. You can write pathnames that contain these characters by putting the name in single quotes,
$'a silly name!!'
These quotes do not hide wild-card characters, so if you happen to have an object in your scene with a "*" in its name, you have to escape the "*" character in the pathname with a backslash,
$'what the \*'
See String Literals for other escape character sequences.
Because of the large number of names in 3ds Max that include spaces, the underscore character ("_") can be used instead of a space in a name.
the following two lines are equivalent:
bodyPart=$'Bip01 L UpperArm'