人非木

大丈夫处世,不能立功建业,几与草木同腐乎?

2008年10月30日 #

通过indexOf()查找某个字符串位置

摘要: AS。的// 循环直到indexOf()返回-1while ( ( index = example.indexOf( "cool", index + 1 ) ) != -1 ) {/* 显示:String contains word cool at index 30String contains word cool at index 41String contains word cool at index 52*/trace( "String contains word cool at index " + index );}兄弟伙推荐个团购导航http: 阅读全文

posted @ 2008-10-30 14:41 人非木 阅读(831) 评论(0) 推荐(0) 编辑

导航