int indexOf(String str)
Returns the index within this string of the first occurrence of the specified substring.str2.indexOf( str1 ) != -1
Returns the index within this string of the first occurrence of the specified substring.str2.indexOf( str1 ) != -1
解决方案 »
- 毕业设计,十万火急(如何实现数据库内容的修改?)
- 各位前辈帮帮忙:有关hibernate的findXXX() 总是产生 NullPointException
- 送分!欢迎加入java群11953652 (加入前看帖子内容~~sry。。)
- 信春哥的一起来
- 慘拉,單位讓我開始學習cobol拉,我的java夢怎麽辦啊 ?
- 怎么有异常也不显示?
- Jsp新手问题 请大家帮忙
- 请救在java中对数据进行html编码的方法在那?(如< 换 <, > 换 >)
- 在JSP中能不能访问客户机目录结构?在线等待!
- 不好意思,问个很弱的问题!--关于数据库字段长度过大
- 在文件的下载后存在本地后,文件出现一连串的数字,如何在下载后去掉数字,例:文件是azxs01.zip,下载到本地变成57329847583579azxs01.zi
- APACHE的用法
String st2="'123','234','456',";
int flag=0;
flag=st2.indexof(st2);//返回st2所在的位置,如果flag=-1,则表示没有