Pretty straight forward, I need to check if a string is equal to this character: ". But of course, you cannot put that in quotes!
If you’re using Unityscript, the single and double quotes are both used for strings, so you can enclose the double quote character in single quotes:
if (myString == '"')
In any language, you can use the backslash escape character:
if (myString == "\"")
Simply put a
\ in front of the ".
\ is an escape character in many, if not all languages.