TrimSpaces
System Module
| Description: |
Returns text with leading and trailing spaces removed. |
| Returns: |
Text |
Usage: ![]() |
Script or steady state. |
| Function Groups: |
String and Buffer |
Format: ![]() |
\System.TrimSpaces(TextValue) |
| Related to: | StrJustify |
| Parameters: |
|
| TextValue |
| Required. The string to be trimmed. |
| Comments: | Spaces within the text are left untouched. |
Example:
CleanText = \System.TrimSpaces(" The quick brown fox ");
CleanText will contain "The quick brown fox".

