Wolfram Research

FromCamelCase

Contributed by: Jon McLoone

Source Notebook

Split camel case phrases into separate words

ResourceFunction["FromCamelCase"]["string"]

inserts spaces into string to convert in camel case phrases into separate words.

Examples

Basic Examples

Wolfram Language commands are always written in camel case

In[1]:=
ResourceFunction["FromCamelCase"]["ListLinePlot"]
Out[1]=

Options

By default, FromCamelCase will only split the words with spaces.

In[2]:=
ResourceFunction["FromCamelCase"]["ListLinePlot"]
Out[2]=

The option ToLowerCase will also put all but the first word into lower case.

In[3]:=
ResourceFunction["FromCamelCase"]["ListLinePlot", ToLowerCase -> True]
Out[3]=

Resource History