The following operators are valid for strings.
capitalize()
The capitalize() operator capitalizes the first character in the target string.
Code Block | ||||
---|---|---|---|---|
| ||||
a = "heat";
b = a.capitalize(); // b = "Heat" |
decode()
The decode()
operator converts a JSON string into the equivalent KRL data structure. For example:
...