阅读背景:

android检查字符串是否包含0-9以外的字符

来源:互联网 

I am creating an app for counting points in games. This app has a edittext component. I want to check if the string retrieved from the edit text contains characters other than 0-9. This is because my app contains a integer.parse function wich crashes if characters other than 0-9 is inputed. All help will be greatly appreciated. Thanks in advance.I am creating an app for counting points in gam




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: