Camel case¤
Converts a string to camel case. Upper camel case is the default, lower camel case can be chosen.
Examples¤
Notation: List of values are represented via square brackets. Example: [first, second]
represents a list of two values “first” and “second”.
A sentence with several words is converted to a single word written in UpperCamelCase:
-
Parameters
- isDromedary:
false
- isDromedary:
-
Input values:
[hello world]
-
Returns:
[HelloWorld]
A sentence with several words is converted to a single word written in lowerCamelCase:
-
Parameters
- isDromedary:
true
- isDromedary:
-
Input values:
[hello world]
-
Returns:
[helloWorld]
A single lowercase letter is converted to UpperCamelCase, i.e. capitalized:
-
Parameters
- isDromedary:
false
- isDromedary:
-
Input values:
[h]
-
Returns:
[H]
A single lowercase letter is converted to lowerCamelCase (aka. dromedary case), i.e. uncapitalized:
-
Parameters
- isDromedary:
true
- isDromedary:
-
Input values:
[h]
-
Returns:
[h]
An empty space is removed. The dromedary/lower case is irrelevant here:
-
Parameters
- isDromedary:
true
- isDromedary:
-
Input values:
[ ]
-
Returns:
[]
An empty space is removed. The upper case is irrelevant here:
-
Parameters
- isDromedary:
false
- isDromedary:
-
Input values:
[ ]
-
Returns:
[]
Parameter¤
Dromedary case¤
If true, lower camel case (aka. dromedary case) is used, otherwise upper camel case is used.
- Datatype:
boolean
- Default Value:
false