Converts a camelCase or PascalCase string into a space-separated, lowercase string.
A new string where each uppercase letter is preceded by a space and all letters are lowercase.
camelCaseToWords('camelCaseString'); // → 'camel case string'camelCaseToWords('PascalCase'); // → 'pascal case'
The input string in camelCase or PascalCase format.
Generated using TypeDoc
Converts a camelCase or PascalCase string into a space-separated, lowercase string.
Returns
A new string where each uppercase letter is preceded by a space and all letters are lowercase.
Example
Remarks