Convert string to characters : String : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » String »

 

Convert string to characters


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var example:String = "a string";
        var characters:Array = example.split"" );
        characters.sort(  );
        
        for var i:int 0; i < characters.length; i++) {
          tracecharacters[i] );
        }
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo String
» String