Remove 3 chars from the end of a string
Posted: Tue Jan 04, 2005 7:28 pm
Hi,
I have a string that is generated through a while loop. The result is like this..
aaa - bbb - ccc - ddd - eee - fff -
obviously, aaa, bbb,etc, are just placeholders, but my question is , how can I remove the last " - " but leave the ones inside?
Thanks,
Josh
I have a string that is generated through a while loop. The result is like this..
aaa - bbb - ccc - ddd - eee - fff -
obviously, aaa, bbb,etc, are just placeholders, but my question is , how can I remove the last " - " but leave the ones inside?
Thanks,
Josh