Commit c24ae611 authored by guanghui.shi's avatar guanghui.shi

字符串去掉空格

parent 82fbcfc5
......@@ -255,7 +255,8 @@ static SystemManager * shareManager = nil;
}
}
/// 纯数字
if ([string isNumber]) return NO;
NSString *fiterStr = [string stringByReplacingOccurrencesOfString:@" " withString:@""];
if ([fiterStr isNumber]) return NO;
return YES;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment