Converting a Character to a Character Code : Char code : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » Char code »

 

Converting a Character to a Character Code


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){

         var band:String = "MC";
         trace(band.charCodeAt(1));
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo String
» Char code