Methods
format(vValue, mAttributes)
Trims whitespace from boths ends of the string.
TrimFormatter
is typically used with Presenter, but can be invoked programmatically
as in the following example which evaluates to "Buy USD":
TrimFormatter.format(" Buy USD ", {})
Parameters:
Name | Type | Description |
---|---|---|
vValue |
Variant | the string to trim. |
mAttributes |
Map | the map of attributes. |
- Implements:
Returns:
the trimmed string.