Character escape
print("\"Excellent!\" I cried. \"Elementary,\" said he.")
// Print: "Excellent!" I cried. "Elementary," said he.
\n
insert new line\t
inserts a tab\r
inserts carriage return\'
inserts a single quote\"
inserts a double quote\\
inserts a backslash\$
inserts a dollar sign
Comments