AS。的

// 循环直到indexOf()返回-1
while ( ( index = example.indexOf( "cool", index + 1 ) ) != -1 ) {
/* 显示:
String contains word cool at index 30
String contains word cool at index 41
String contains word cool at index 52
*/
trace( "String contains word cool at index " + index );

}

 

 兄弟伙推荐个团购导航

http://www.izhaotuan.com/

相关文章:

  • 2021-12-12
  • 2021-06-13
  • 2021-12-12
  • 2021-09-15
  • 2021-08-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-04
  • 2021-11-26
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案