Positions of Letters in Alphabets
Version 11 introduces the functions LetterNumber and FromLetterNumber to explore the characters of languages by their position in the respective alphabets.
Specify a list of languages spoken in European countries.
In[1]:=
languages = {"Croatian", "Dutch", "English", "French", "Hungarian",
"Latvian", "Polish", "Portuguese", "Romanian", "Spanish"};
Use LetterNumber to find the position of the character z in the alphabets of these languages. It varies from 26 to 43 in that list.
In[2]:=
Thread[languages -> LetterNumber["z", languages]]
Out[2]=
Use FromLetterNumber to get the 25 letter of each of those alphabets.
In[3]:=
Thread[languages -> FromLetterNumber[25, languages]]
Out[3]=