new module:ct-element /formatter /Upper Case Formatter()
Converts a string to upper case.
UpperCaseFormatter
is typically used in the XML Renderer Framework, but can be invoked programmatically
as in the following example which evaluate to 'hello, world!':
UpperCaseFormatter.format('Hello, World!', {})
- Implements:
Methods
format(value) → {String}
Converts a string to upper case.
Parameters:
Name | Type | Description |
---|---|---|
value |
String | the string. |
- Implements:
Returns:
the string, converted to upper case.
- Type
- String