pascalCase
Rewrites a name or phrase as PascalCase.
Details #
pascalCase(text) rewrites text as PascalCase. 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 pascalCase op of the Transform text step, so it also appears in Paste As and the clipboard actions.
Parameters #
Takes 1 argument.
{{ pascalCase(text) }}
Examples #
pascalCase("some name here")→
SomeNameHereGotchas #
Punctuation is dropped:
pascalCase("hello, world")givesHelloWorld.Apostrophes are dropped without splitting a word ("don't" stays one word).