Breaking News
Home / iOS / ObjectiveC (page 2)

ObjectiveC

How to clean phone number string in Objective C?

+(NSString*) cleanPhoneNumber:(NSString*) input {     NSString *output = @""; for (int i=0; i<[input length]; i++) {     if (isdigit([input characterAtIndex:i])) {       output=   [output  stringByAppendingFormat:@"%c",[input characterAtIndex:i]];     } }         return  output; } [pb_builder]

Read More »
Advertisment ad adsense adlogger