Capitalize¤
Capitalizes the string i.e. converts the first character to upper case. If ‘allWords’ is set to true, all words are capitalized and not only the first character.
Examples¤
Notation: List of values are represented via square brackets. Example: [first, second] represents a list of two values “first” and “second”.
Example 1:
-
Parameters
- allWords:
false
- allWords:
-
Input values:
[capitalize me]
-
Returns:
[Capitalize me]
Example 2:
-
Parameters
- allWords:
true
- allWords:
-
Input values:
[capitalize me]
-
Returns:
[Capitalize Me]
Parameter¤
All words¤
No description
- ID:
allWords - Datatype:
boolean - Default Value:
false
Advanced Parameter¤
None
Related Plugins¤
- lowerCase — Capitalize raises only the first character, or the first of each word, leaving the rest of the string unchanged. Lower case converts every character, making it the right choice when the entire string needs to be normalized rather than just its initial character.
- upperCase — Capitalize changes only the first character, leaving the rest of the string as-is. Upper case is the right plugin when every character needs to be raised, not just the initial one.