Wolfram: String

By Xah Lee. Date: . Last updated: .

A string is a sequence of characters.

String Syntax

String is quoted by QUOTATION MARK.

"this is a string"

xx = "Can include unicode 🌞 character."

xy ="String can be
 multiple lines."

String Escapes

\n

newline char in string.

"aa\nbb"
(* 
aa
bb
*)
\t

tab char in string.

\"

QUOTATION MARK in string.

"Said \"Yes\""
(* Said "Yes" *)

WolframLang String