Re: Whitespaces
- Posted by Derek Parnell <derekp at SOLACE.COM.AU> Dec 14, 2000
- 432 views
Hi Brian, >What's the easiest way to get rid of whitespaces at the end of a string of >text? try this... -------------- sequence text for i = length(text) to 1 by -1 do if text[i] != ' ' then text = text[1 .. i] exit end if if i = 1 then text = "" exit end if end for ------------- ----- cheers, Derek Parnell