Caplin Trader 4.5.2

Class: module:br/formatting/UpperCaseFormatter

module:br/formatting/UpperCaseFormatter

Converts a string to upper case.

UpperCaseFormatter is typically used with Presenter, but can be invoked programmatically as in the following example which evaluate to "hello, world!":

br.formatting.UpperCaseFormatter.format("Hello, World!", {})

Constructor

new module:br/formatting/UpperCaseFormatter()

Implements:

Methods

format(vValue, mAttributes)

Converts a string to lower case.
Parameters:
Name Type Description
vValue Variant the string.
mAttributes Map (unused)
Implements:
Returns:
the string, converted to upper case.