Strings

String literals are specified by a sequence of characters between ' (single quote) characters.

To use quotation marks within a string literal, use the “ character.

Examples of string literals include:

'Welcome, visitors.'
'I said, "hello"'
'Numbers like 7 are legal in string literals'

Examples of invalid string literals include:

'hello

(missing closing ')

'I said, 'hello''

(wrong quotation character within the string)

"hello"

(incorrect delimiters)