Hi devin I guess you will have to write a small piece of code which will split the string depending on the number of spaces and concatenate the seperate strings together. You will have to use the String.substring() and String.indexOf() in a loop and generate a new string. Try it out. This is one way to do it. If there is any other way do please let me know if you come across it.
Life called,so here I am.<br />Cheers<br />Niki.:-)
Thanks all for the help, I was just coming back here to mention that I had discovered the String.replaceAll() method and got it working.
Bear: yes, I knew that - what I didn't know is that '' isn't accepted as a character!
Niki: I think your method would be good excercise on using String.substring() and String.indexOf() - so i might try it that way even though the String.replaceAll() is much easier. [ April 13, 2005: Message edited by: Devin Fleenor ]
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
a bit of art, as a gift, the permaculture playing cards