Hi Sarah,
If theStr contains a string with multple spaces that you want to
replace with single spaces, try:
replacetext(theStr," +"," ")
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Salery is the easiest way to get your own web store on-line: http://
www.salery.biz/salery.html
Op 18-mei-2006, om 23:05 heeft Sarah Reichelt het volgende geschreven:
<snip>
If there could be extra spaces between words, then this is what I use:
put empty into myTrimmedText
repeat for each word w in myText
put w & space after myTrimmedText
end repeat
delete last char of myTrimmedText -- get rid of last space
HTH,
Sarah
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution