Character Operations

Mathematica has efficient systemwide 16-bit Unicode support, allowing a full range of international, technical and other character sets and character encodings.

ReferenceReference

Characters the list of characters in a string

StringJoin join characters to form a string

ToCharacterCode convert a string to a list of character codes

FromCharacterCode convert from a list of character codes to a string

CharacterRange give a range of characters with successive character codes

ToUpperCase ▪ ToLowerCase

Tests

DigitQ ▪ LetterQ ▪ UpperCaseQ ▪ LowerCaseQ

Character Encoding

CharacterEncoding specify a character encoding ("ANSI", "UTF8", "ShiftJIS", ...)

$CharacterEncodings list of installed character encodings on a computer system

ToString, ToExpression convert between arbitrary expressions and strings

$CharacterEncoding ▪ ImportString ▪ ExportString

New to Mathematica? Find your learning path »
Have a question? Ask support »