Skip to content

CharacterName

Gives the Wolfram Language name of a character.

$ wo 'CharacterName["a"]'
LatinSmallLetterA

Digits and ASCII punctuation have their own names.

$ wo 'CharacterName["1"]'
DigitOne
$ wo 'CharacterName["+"]'
RawPlus

A multi-character string returns the list of names.

$ wo 'CharacterName["ab"]'
{LatinSmallLetterA, LatinSmallLetterB}