BPS Script engine enhancements to the String prototype. More...
Public Member Functions | |
String | lpad (Number aSize, String aPadText=' ') |
Return a copy of the string left padded up to the desired total string size. More... | |
String | ltrim () |
Left trimmed string. More... | |
String | rpad (Number aSize, String aPadText=' ') |
Return a copy of the string right padded up to the desired total string size. More... | |
String | rtrim () |
Right trimmed string. More... | |
String | trim () |
Trimmed string. More... | |
BPS Script engine enhancements to the String prototype.
Return a copy of the string left padded up to the desired total string size.
[in] | aSize | Minimum size to pad the string to. |
[in] | aPadText | The text used for padding, normally a single character. |
String String::ltrim | ( | ) |
Left trimmed string.
Return a copy of the string right padded up to the desired total string size.
[in] | aSize | Minimum size to pad the string to. |
[in] | aPadText | The text used for padding, normally a single character. |
String String::rtrim | ( | ) |
Right trimmed string.
String String::trim | ( | ) |
Trimmed string.