strRemoveSpaces (Function) |
Top Previous Next |
strRemoveSpaces will remove leading and trailing spaces in a string. It is optional if the function should remove the leading, trailing, or both types of spaces in a string.
Note that the returned string is a dynamic string.
Input: str : STRING String that is to be extracted from.
leading : BOOL Default TRUE TRUE if leading spaces should be removed.
trailing : BOOL Default TRUE TRUE if trailing spaces should be removed.
Returns: STRING The extracted string.
Declaration: FUNCTION strRemoveSpaces : STRING;
Example: INCLUDE rtcu.inc |