> but i posted the question becuase i asumed there must be much more > efficient way to do it
In addition to PregEx if you're in DMX'04 you could create a JavaScript syntax regular expression object and do all this a bit faster and "cleaner". Cheers, Tom Higgins - Technical Product Manager Macromedia Director and the Shockwave Player http://www.markme.com/thiggins/ [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
