Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
It depends on the language. Usually a backslash, especially mid-string is recognized as an escape character. It can be used to escape certain characters such as ' and others that would cause confusion in the string. It can also be combined with directives such as \a, \b, \n, depending on your language.
22nd Jan 2019, 12:40 PM
Dread
Dread - avatar