EDIT: What's the error you get, and what's the exact code you're using?
quote:
Originally posted by -!Felu!-
I don't know the reason behind this, but i think you get what i mean. If someone can explain why then please do .
The reason is that in strings, the backslash \ is used as an "escape character", meaning it's used to show that the next character signifies something other than it's literal character. For example:
\n = new line
\" = inside a string this is used to show a quote, rather than actually showing the ending of the string
So to get an actual \ into a string, you double it up to \\ and it gets changed into a \ when the string is passed / used etc.