Valid on NetWare, Symbian OS, UNIX, Windows and Windows CE
The Trim function removes leading and trailing spaces from the string.
This string manipulation function has the format:
Trim(str as String) as String
Identifies the string that is to be trimmed.
The function returns the trimmed string.
Example: Trim function
Dim tStr, str As String
str = " abcd "
tStr = Trim(str)
Print(">>>"+Str+"<<<")
Print(">>>"+tStr+"<<<")
This prints:
>>> abcd <<<
>>>abcd<<<
|
Copyright © 2013 CA.
All rights reserved.
|
|