int indexOf(int ch)
Returns the index within this string of the first occurrence of the specified character.
indexOf(58)指String中第一次出现(char)58,(也就是":"冒号)的位置,如:
String s = "http://";
int i = s.indexOf(58);
//i = 4
Returns the index within this string of the first occurrence of the specified character.
indexOf(58)指String中第一次出现(char)58,(也就是":"冒号)的位置,如:
String s = "http://";
int i = s.indexOf(58);
//i = 4
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货