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


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

 

Getting a Character Code


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var sTitle:String = new String("ActionScript Bible");
        trace(sTitle.charCodeAt(12));  // Displays: 32


    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo String
» Char code