The escape characters for double and single quotes are \" and \' respectively. : String : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » String »

 

The escape characters for double and single quotes are \" and \' respectively.


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
          var s: String = 'Bugs says "What's up, doc?"';
          trace(s); // Bugs says "What's up, doc?"
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo String
» String