Yes, unbelievable crap this is, being used to Java/C like languages, I expected a escape character (like \, which they actually DID use in \n). Turns out it is done like this "", go figure.
So in your case that would make;
_text = "_dude = SwitchMove """ + _anim + """";
(tested it and hey, it worked
)
Count the "'s.... it really stinks...
BTW, couldn't you find this with the search?