Skip to main content

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

NameTypeDescriptionDefined By
varvarResult variable name toupper
typetypeCapitilization type toupper

Results:

BindingTypePredicate
varstringN/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 -->