+ (NSString *)noNullStringWith:(id)dataString
{
NSString *nullString = dataString;
if ([nullString isKindOfClass:[NSString class]] && nullString.length) {
return nullString;
}
else {
return @"";
}
}
标签:data nbsp with body return bsp pos 返回 string
+ (NSString *)noNullStringWith:(id)dataString
{
NSString *nullString = dataString;
if ([nullString isKindOfClass:[NSString class]] && nullString.length) {
return nullString;
}
else {
return @"";
}
}
标签:data nbsp with body return bsp pos 返回 string
原文地址:https://www.cnblogs.com/Gaiayueyue/p/8258863.html