indexOf(int ch)
Returns the index within this string of the first occurrence of the specified character.
-----------indexOf()方法返回的是一个所在位置的标签值
是不是与你向要得不一样?
Returns the index within this string of the first occurrence of the specified character.
-----------indexOf()方法返回的是一个所在位置的标签值
是不是与你向要得不一样?
================================================================
把手机变成笔记本的理由:....需要吗?
移动控制台1.1,免费推广,免费获取注册码中!
欢迎访问http://wireless2k.com
================================================================
for (i=1;i<100;i++){
if (strUnit.indexOf(Citys[0][i]) == 0){
strCity = Citys[0][i];
break;
}
}继续请教!
tryu{
for (i=1;i<100;i++){
if (strUnit.indexOf(Citys[0][i]) == 0){
strCity = Citys[0][i];
break;
}
}
}catch{
return e.getMessage();
}
return strCitys;
确实是catch返回了null
indexOf(int ch)Citys[0][i] 的类型是什么如果为String你的String 数祖的定义对吗?
================================================================
把手机变成笔记本的理由:....需要吗?
移动控制台1.1,免费推广,免费获取注册码中!
欢迎访问http://wireless2k.com
================================================================
================================================================
把手机变成笔记本的理由:....需要吗?
移动控制台1.1,免费推广,免费获取注册码中!
欢迎访问http://wireless2k.com
================================================================