NSString:
if (TotalAnnualFee == nil || [TotalAnnualFee isEqual:[NSNull null]]) {
TotalAnnualFee = @"0";
}
Array:
for (int i=0; i<[scheduleDate_Arr count]; i++) {
NSString *str=[scheduleDate_Arr objectAtIndex:i];
if (str == nil || [str isEqual:[NSNull null]]) {
[scheduleDate_Array1 addObject:@"0"];
} else {
[scheduleDate_Array1 addObject:str];;
}
}
Sign up here with your email
ConversionConversion EmoticonEmoticon