It's probably and old and stupid question and I've already worked around it anyway. But, for future reference...
How do I print a string with a double-quote in it? Assume I want to print to the client log using PrintString(), but I'm not sure how to do it in float text or message text, either.
In other words, I want the following string to appear, exactly, in the log
This character " is a double-quote.
What argument do I pass to PrintString()?
I am used to doing this in C-like languages using \\" or \\x22 or something similar. What's the easy way to do it in NWScript? Hopefully avoiding defining a string variable with a double-quote in it and having to concatenate that with another string...
Modifié par MrZork, 09 juin 2012 - 08:11 .