The backslash character has a special function when used in a string literal : Escape : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » Escape »

 

The backslash character has a special function when used in a string literal


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        trace("\");  // displays: 

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo String
» Escape