NSString
*str1 =
@"wsw哈"
;
if
([str1
rangeOfString
:
@"[\\u4e00-\\u9fa5]"
options
:
NSRegularExpressionSearch
].
location
!=
NSNotFound
){
NSLog
(
@"有中文"
);
}
else
{
NSLog
(
@"没有中文"
);
}