Attributes | Name and Description |
---|---|
|
caplin.element.formatter.TrimFormatter()
|
Attributes | Name and Description |
---|---|
|
String
format(Variant vValue, Map mAttributes)
Trims whitespace from boths ends of the string. |
►
caplin.element.formatter.TrimFormatter()
►
String
format(Variant vValue, Map mAttributes)
Trims whitespace from boths ends of the string.
TrimFormatter
is typically used in the XML Renderer Framework, but can be invoked programmatically
as in the following example which evaluates to "Buy USD":
caplin.element.formatter.TrimFormatter.format(" Buy USD ", {})
Variant | vValue | the string to trim. |
Map | mAttributes | the map of attributes. |