package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var example:String = "Cool. This is a cool as both cool (lowercase) and Cool."; var search:String = "cool"; trace( example.indexOf( search ) ); } }}
Name (required)
email (will not be published) (required)
Website