Converting a String Object to a Primitive : String : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » String »

 

Converting a String Object to a Primitive


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
          var s: String = "Hello, world!";
          trace(s)// Displays: Hello, world!
          trace (s .valueOf ())// Displays: Hello, world!

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo String
» String