Trim()
Syntax
Result$ = Trim(String$ [, Character$])Description
Removes all the 'space' characters located at the beginning and at the end of a string. If the optional 'Character$' parameter is specified, it removes all the 'Character$' located at the beginning and at the end of a string. 'Character$' has to be a one character length string.Example:
Debug Trim(" Hello ") ; Will display "Hello" Debug Trim("!!Hello!!", "!") ; Will display "Hello"
Supported OS
All