如何在Flash/ActionScript 3中检查一个字符串是否包含另一个字符串?
谢谢帮助。
var a = "hello world"; if(a.indexOf("world") >= 0){ //It contains the String! }