Caplin Trader 4.7.1

Class: module:caplin/element/formatter/LowerCaseFormatter

module:caplin/element/formatter/LowerCaseFormatter

Constructor

new module:caplin/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!'

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

Methods

format(vValue) → {String}

Converts a string to lower case.
Parameters:
Name Type Description
vValue Variant the string.
Returns:
the string, converted to lower case.
Type
String