String Manipulation in Flash



This is going to be a very short article because there IS NO string manipulation in Flash.

Not really, anyway.

I discovered that today when I tried to figure out how to search and replace in Flash Actionscript. Hmm, where is the nice regular expression syntax for Flash. It must be here somewhere.

Um, no.

I’m hoping that enough people write articles about it, that they will get some better Actionscript for manipulating strings. You can find functions and objects that people have written to use the basic string functions that they do provide to do manipulations such as search and replace. It doesn’t matter how well someone writes the code, they still can’t hope to compete with compiled functions.

Maybe I’m just spoiled by the regular expressions in Perl and the nice string manipulation and adequate regular expressions in PHP.

Shouldn’t every language have regular expressions and advanced string manipulation functions?

Share and Enjoy:
  • Digg
  • del.icio.us
  • StumbleUpon
  • Facebook
  • MisterWong
  • Mixx
  • Reddit
  • Sphinn
  • Twitter

Related Posts

One Response to “String Manipulation in Flash”

  1. Stronghold Crusader Extreme Says:

    I see, its quite useful. tips are really useful

Leave a Reply

You must be logged in to post a comment.