String Flash ActionScript

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var sTitle:String = new String("ActionScript");
        trace(sTitle.indexOf("ActionScript")); 
        trace(sTitle.indexOf("i"));  
        trace(sTitle.lastIndexOf("i"));  
        trace(sTitle.indexOf("i", 4));  
        trace(sTitle.lastIndexOf("i", 12));  
        trace(sTitle.indexOf("q"));  
        trace(sTitle.lastIndexOf("g"));  
        
    }
  }
}
0
3
9
9
9
-1
-1