Mathematica > Core Language > Expressions > Expression Structure > Atomic Elements of Expressions >

String ("...")

String
is the head of a character string "text".
  • Strings can contain any sequence of ordinary or special characters.  »
  • _String can be used as a pattern that represents a string.
  • In FullForm, special characters in strings are given as \[Name] or \:code.  »
  • If an explicit newline in the string is preceded by a single backslash \, the backslash and newline are ignored.
New in 1 | Last modified in 3
© 2008 Wolfram Research, Inc.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team