02.08.2014, 20:47
\ is an escape character. Escape characters have a certain effect on the character following them
\" in this case means just " in a way that it doesnt close the string, but the " being part of the string.
The string "\"" then would just show " ingame, while "\" is an unclosed string. What you actually want to use there is "\\" The \ escapes itself there and means "dont do what a \ commonly does, but just put the \ in there"
\" in this case means just " in a way that it doesnt close the string, but the " being part of the string.
The string "\"" then would just show " ingame, while "\" is an unclosed string. What you actually want to use there is "\\" The \ escapes itself there and means "dont do what a \ commonly does, but just put the \ in there"