RETURNS THE STRING REMOVING LEADING AND TRAILING SPACES FROM THE STRING S
ACTION
The function TRIM$(S) returns the string removing leading and trailing spaces from the string S.
Remark: the keyword TRIM$ ends by '$' : it means that the returned value is a string.
SYNTAX:
Result$=TRIM$(S)
USE ERROR EXAMPLE
print "->"+trim$(" abc ")+"<-"
print "->abc<-"
TRIM$()
TRIM$(S)
SEE ALSO
INSERT$()
INSTR()
LEFT$()
LEN()
LOWER$()
LTRIM$()
MID$()
RIGHT$()
RTRIM$()
STR$()
STRING$()
UPPER$()