Liberty BASIC Help Online |
TRIM$( s$ )
TRIM$(stringExpression)
Description:
This function removes any spaces from the start and end of the string in stringExpression. This can be useful for cleaning up data entry among other things.
Usage:
sentence$ = " Greetings "
print len(trim$(sentence$))
Produces: 9
Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/