Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Split camel case phrases into separate words
ResourceFunction["FromCamelCase"]["string"] inserts spaces into string to convert camel case phrases into separate words. |
Wolfram Language commands are always written in camel case:
In[1]:= |
Out[1]= |
By default, FromCamelCase will only split the words with spaces:
In[2]:= |
Out[2]= |
The option ToLowerCase will also put all but the first word into lowercase:
In[3]:= |
Out[3]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License