Trim - script and chart function
Trim() returns the input string trimmed of any leading and trailing spaces.
Syntax:
Trim(text)
Return data type: string
Examples and results:
Example | Result |
---|---|
Trim( ' abc' ) | Returns 'abc' |
Trim( 'abc ' ) | Returns 'abc' |
Trim( ' abc ' ) | Returns 'abc' |