Single Characters

A single-character constant is bounded with single quotes.

Syntax

char          = "'" noSingleQuote "'".

noSingleQuote = ANY - "'". (any single character
                            except the quote)

Example

The following single characters are valid:

  • '1'
  • 'x'
  • '§'
  • '}'

The following are invalid as single characters:

  • "1"
  • 'xy'