Use String.frolmCharCode to create a string : FromCharCode : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » FromCharCode »

 

Use String.frolmCharCode to create a string


 

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

        var example:String = String.fromCharCode191 + String.fromCharCode243 
                   + String.fromCharCode225 
                   + String.fromCharCode241 );
        
        if example.charCodeAt== 191 ) {
          trace"The string "" + example + "" has a u00BF at the beginning." );
        }

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo String
» FromCharCode