Caplin Trader 5.1.0

Class: module:ct-element/formatter/UpperCaseFormatter

module:ct-element/formatter/UpperCaseFormatter()

new module:ct-element/formatter/UpperCaseFormatter()

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