摘要:
比如限制输入字符为ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@-_.例子:+(BOOL) isStringInCharacterSet:(NSString*) str (需要判断的字符串){ staticNSString* s_strEmailChar =@"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@-_."; NSCharacterSet* charset = [NSCharacterSetcharacter 阅读全文