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")); } }}03999-1-1
Name (required)
email (will not be published) (required)
Website