Posted by Jim Guerber on September 29, 2005 at 11:42:00:
In Reply to: Re: ADJUSTR and ADJUSTL posted by Jim Guerber on September 29, 2005 at 08:13:21:
oops -- I forgot to insert the <pre>
ADJUSTL() and ADJUSTR() use the "current length" of the argument string. They remove blanks from one side of the argument string and append the same number of blanks to the other side.
try the following:
Length 40 & local a$Cut, paste and experiment.
print(et)
a$ = adjustr('x ')
print '>';a$;'<'
a$ = adjustl(' x ')
print '>';a$;'<'
wait & stop