+ (NSString *)noNullStringWith:(id)dataString
{
NSString *nullString = dataString;
if ([nullString isKindOfClass:[NSString class]] && nullString.length) {
return nullString;
}
else {
return @"";
}
}
原文地址:https://www.cnblogs.com/Gaiayueyue/p/8258863.html
时间: 2024-10-11 12:40:37