BS> can we now use regularexpressions in Flash8 to manipulate strings? Some libraries for handling regular expressions are out there (Google?), but Flash 8 has no built-in support for regex.
BS> I need to replace all instances of "/descr" with "</descr" using BS> actionscript.. but.. some instances of "</descr" already exist and BS> I do not want to change those if possible. thanks for any BS> insights. It doesn't require regular expressions: ouptutStr = inputStr.split("</descr").join("/descr").split("/descr").join("</descr"); Attila _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com