public class Main extends Sprite{ public function Main(){ var sTitle:String = new String("ActionScript Bible"); var nMatch:Number = sTitle.indexOf("i"); while(nMatch != -1) { trace(nMatch); nMatch = sTitle.indexOf("i", nMatch + 1); }
} } } 3 9 14
Related Scripts with Example Source Code in same category :