Actionscript 3:检查字符串是否包含另一个字符串
如何检查字符串是否包含flash/Actionscript 3中的另一个字符串?Actionscript 3:检查字符串是否包含另一个字符串
感谢您的帮助。
回答:
var a = "hello world"; if(a.indexOf("world") >= 0){ 
//It contains the String! 
} 
以上是 Actionscript 3:检查字符串是否包含另一个字符串 的全部内容, 来源链接: utcz.com/qa/263184.html






