Caplin Trader 5.1.0

Class: module:ct-element/formatter/LowerCaseFormatter

module:ct-element/formatter/LowerCaseFormatter()

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

Converts a string to lower case.

LowerCaseFormatter is typically used in the XML Renderer Framework, but can be invoked programmatically as in the following example which evaluate to 'hello, world!'

LowerCaseFormatter.format('Hello, World!', {})
Implements:

Methods

format(vValue) → {String}

Converts a string to lower case.

Parameters:
Name Type Description
vValue Variant

the string.

Implements:
Returns:

the string, converted to lower case.

Type
String