Strings

String types are represented by a set of characters enclosed in double quotation marks ("Text string").

To include certain special characters within a String, you must prefix them with a backslash (\). For example, to include a double quotation mark within a String, you would write \". The backslash is required here to indicate that the String has not yet ended.

The following special character sequences are accepted within text strings:
  • \n (new line character)

  • \t (tab character)

  • \b

  • \r (carriage return character)

  • \f (line feed character)

  • \' (single quotation mark)

  • \" (double quotation mark)

  • \\ (backslash)