Next: String Predicates, Up: Strings
The read syntax for strings is an arbitrarily long sequence of
characters enclosed in double quotes ("
).
Backslash is an escape character and can be used to insert the
following special characters. \"
and \\
are R5RS
standard, the rest are Guile extensions, notice they follow C string
syntax.
\\
\"
"
is otherwise the end
of the string).
\0
\a
\f
\n
\r
\t
\v
\xHH
\x7f
for an ASCII DEL (127).
The following are examples of string literals:
"foo" "bar plonk" "Hello World" "\"Hi\", he said."