Retrieving One Character at a Time : CharAt : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » CharAt »

 

Retrieving One Character at a Time


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var example:String = "a string";
        
        for var i:int 0; i < example.length; i++ ) {
          traceexample.charAt) );
        }
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo String
» CharAt