Browse the docs

camelCase

Rewrites a name or phrase as camelCase.

Details #

camelCase(text) rewrites text as camelCase. It splits the text into words on spaces and punctuation, on a change from lower to upper case, between letters and digits, and where an acronym ends, so parseURL2Fast is the words parse, URL, 2 and Fast.

The same operation is the camelCase op of the Transform text step, so it also appears in Paste As and the clipboard actions.

Parameters #

Takes 1 argument. {{ camelCase(text) }}

Examples #

camelCase("parse URL 2 fast")
→ parseUrl2Fast

Gotchas #

  • Punctuation is dropped: camelCase("hello, world") gives helloWorld.

  • Apostrophes are dropped without splitting a word ("don't" stays one word).