var myString:String = "reverse";
trace(myString.split("").reverse().join("")); //Output - esrever
Welcome to my actionscript snippet library!
Actionscript Snips is a small repository of actionscript code that aims to save developers and designers time when developing a website.
Reverse A String
Posted by
admin
on Sunday, July 19, 2009
Labels:
Strings
0 comments:
Post a Comment