gives the lowercase letter at position n in the English alphabet.
FromLetterNumber[n,alpha]
gives the letter at position n in the alphabet specified by alpha.
FromLetterNumber
gives the lowercase letter at position n in the English alphabet.
FromLetterNumber[n,alpha]
gives the letter at position n in the alphabet specified by alpha.
Details
- An alphabet can be specified by the entity for a language, or by its standard name.
- FromLetterNumber automatically threads over lists.
- Negative positions count from the end of the alphabet, starting at
. - FromLetterNumber[0] gives " ".
Examples
open all close allBasic Examples (4)
Get the 4
letter in the English alphabet:
FromLetterNumber[4]Get letters at several positions in the English alphabet:
FromLetterNumber[{4, 10, 17}]Get the 4
letter in the Greek alphabet:
FromLetterNumber[4, "Greek"]Get the last letter in the Greek alphabet:
FromLetterNumber[-1, "Greek"]Get the letter from the alphabet specified by a language entity:
FromLetterNumber[31, Entity["Language", "Russian"]]Applications (2)
Label a sequence of cases by successive letters:
Table[Labeled[RandomInteger[1000], FromLetterNumber[i]], {i, 6}]Include parentheses in the labels:
Table[Labeled[RandomInteger[1000], TemplateApply["(``)", FromLetterNumber[i]]], {i, 6}]Make a string from a list of integers:
RandomInteger[{1, 5}, 20]FromLetterNumber[%]ToUpperCase[%]StringJoin[%]Properties & Relations (1)
LetterNumber inverts the operation performed by FromLetterNumber:
FromLetterNumber[5]LetterNumber[%]Related Guides
Text
Wolfram Research (2015), FromLetterNumber, Wolfram Language function, https://reference.wolfram.com/language/ref/FromLetterNumber.html (updated 2017).
CMS
Wolfram Language. 2015. "FromLetterNumber." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. https://reference.wolfram.com/language/ref/FromLetterNumber.html.
APA
Wolfram Language. (2015). FromLetterNumber. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FromLetterNumber.html
BibTeX
@misc{reference.wolfram_2026_fromletternumber, author="Wolfram Research", title="{FromLetterNumber}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/FromLetterNumber.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_fromletternumber, organization={Wolfram Research}, title={FromLetterNumber}, year={2017}, url={https://reference.wolfram.com/language/ref/FromLetterNumber.html}, note=[Accessed: 12-June-2026]}