Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get a string character from its name
ResourceFunction["FromCharacterName"]["name"] gets the character named "name". | |
ResourceFunction["FromCharacterName"][{"name1","name2",…}] gets a string containing the named characters. |
Get a character from its name:
In[1]:= | ![]() |
Out[1]= | ![]() |
In[2]:= | ![]() |
Out[2]= | ![]() |
In[3]:= | ![]() |
Out[3]= | ![]() |
Get a string from a list of character names:
In[4]:= | ![]() |
Out[4]= | ![]() |
Get a list of strings:
In[5]:= | ![]() |
Out[5]= | ![]() |
FromCharacterName will thread over lists:
In[6]:= | ![]() |
Out[6]= | ![]() |
An empty list will produce an empty string:
In[7]:= | ![]() |
Out[7]= | ![]() |
FromCharacterName is a partial inverse of CharacterName:
In[8]:= | ![]() |
Out[7]= | ![]() |
In[9]:= | ![]() |
Out[9]= | ![]() |
In[10]:= | ![]() |
Out[10]= | ![]() |
Names are case sensitive:
In[11]:= | ![]() |
Out[11]= | ![]() |
In[12]:= | ![]() |
Out[12]= | ![]() |
Each list must not mix strings and lists:
In[13]:= | ![]() |
Out[13]= | ![]() |
In[14]:= | ![]() |
Out[14]= | ![]() |
In[15]:= | ![]() |
Out[15]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License