FromLetterNumber

FromLetterNumber[n]

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 allclose all

Basic Examples  (4)

Get the 4^(th) letter in the English alphabet:

Get letters at several positions in the English alphabet:

Get the 4^(th) letter in the Greek alphabet:

Get the last letter in the Greek alphabet:

Get the letter from the alphabet specified by a language entity:

Applications  (2)

Label a sequence of cases by successive letters:

Include parentheses in the labels:

Make a string from a list of integers:

Properties & Relations  (1)

LetterNumber inverts the operation performed by FromLetterNumber:

Wolfram Research (2015), FromLetterNumber, Wolfram Language function, https://reference.wolfram.com/language/ref/FromLetterNumber.html (updated 2017).

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_2024_fromletternumber, author="Wolfram Research", title="{FromLetterNumber}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/FromLetterNumber.html}", note=[Accessed: 04-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_fromletternumber, organization={Wolfram Research}, title={FromLetterNumber}, year={2017}, url={https://reference.wolfram.com/language/ref/FromLetterNumber.html}, note=[Accessed: 04-October-2024 ]}