Apologies - sent the wrong snippet earlier. The correct version (very
similar) is;
Here's a small snippet that will replace spaces within quotes using
regex's. Just put your data into tString and the new data is put into
tResult.
put tString into tResult
repeat while matchText(tString, "([" & quote & "][^" & quote & "]+[" & quote &
"])", tMatch)
put replaceText(tMatch, " ", "") into tReplacement
put replaceText(tResult, tMatch, tReplacement) into tResult
put replaceText(tString, tMatch, "") into tString
end repeat
Hope this is of use, JB.
JC
_______________________________________________
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