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
- Datatype:
boolean
- Default Value:
false