int indexOf(String str)

java和android开发

返回str在字符串中第一次出现处的索引,若没有,返回 -1

猜你喜欢

转载自blog.csdn.net/puspos/article/details/83963253