07-28-2010, 04:25 PM
rtrim! I missed that every time through the member functions.Good thing I asked. I've been doing it really long ways. Really hated having to put that stuff in my code because it makes it longer and ugly.
Here's one way I've been doing it:
Too long for just removing spaces. A lot of the way's I've done it don't seem like they would be reliable.
Here's one way I've been doing it:
str s="Hello "
for _i 0 s.len
,_s.get(s s.len-1 1)
,if _s=" "
,,s.remove(s.len-1 1)
out sToo long for just removing spaces. A lot of the way's I've done it don't seem like they would be reliable.
