Strings are sequences of characters. String literals
are usually delimited by either single ('
) or double ("
) quotes. Double-quoted string literals
are subject to backslash and variable interpolation, and
single-quoted strings are not (except for '
and \
, used to put single quotes and
backslashes into single-quoted strings). You can embed newlines
directly in your strings.
Table 4-1 lists all the backslashed or escape characters that can be used in double-quoted strings.