[Solved] I have a lib “.a” file, where it contents some value,I am able to read the contents
[ad_1] It’s may help you! NSString *str=@”1 2 3″; NSArray *split = [str componentsSeparatedByString:@” “]; NSString *replacevalue=@” “; for(int i=1;i<[split count];i++) { if([replacevalue isEqualToString:@” “]) replacevalue=[NSString stringWithFormat:@”%@”,[split objectAtIndex:i]]; else replacevalue=[NSString stringWithFormat:@”%@,%@”,replacevalue,[split objectAtIndex:i]]; } NSLog(@”%@”,replacevalue); 1 [ad_2] solved I have a lib “.a” file, where it contents some value,I am able to read the contents