...
The only special character is "
. You can put a double quote inside a string by escaping it with a backslash:
Code Block |
---|
a = "I can put a quote character, \", in my string using a backslash" |
A newline (\n) requires a line break:
Code Block |
---|
b = |
...
"And a ' ' too!" |
Other characters can be inserted literally, although some text editors are better at this than others.
...