public class Main extends Sprite{ public function Main(){ var example:String = "hello dear reader"; var words:Array = example.split( " " ); words.reverse( );
var exampleRevByWord:String = words.join( " " );
trace( exampleRevByWord );
var characters:Array = example.split( "" );
characters.reverse( );
var exampleRevByChar:String = characters.join( "" );