To upper case
Anatomy
<toupper var="var" type="chars">
string
</toupper>
Description: TOUPPER returns the upper case representation of a value by capitalizing the first character, all words or all characters.
Attributes
Results:
| Binding | Type | Predicate |
|---|---|---|
| var | string | N/A |
Examples
Capitalize first character
<output>
<toupper type="first">bill gates</toupper>
</output>
<!-- Bill gates -->
Capitalize all words
<output>
<toupper type="words">bill gates</toupper>
</output>
<!-- Bill Gates -->
Capitalize all characters
<output>
<toupper>iXML</toupper>
</output>
<!-- IXML -->