摘要: 比如限制输入字符为ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@-_.例子:+(BOOL) isStringInCharacterSet:(NSString*) str (需要判断的字符串){ staticNSString* s_strEmailChar =@"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@-_."; NSCharacterSet* charset = [NSCharacterSetcharacter 阅读全文
posted @ 2013-07-24 18:04 童话DY 阅读(422) 评论(0) 推荐(0) 编辑