ProgrammerGuide.Net | Step by Step Programmer Guide

String Split Equivalent in iOS xcode | iOS Interview Question | iOS Programmer Guide

The C# equivalent of String split in iOS is possible. The easiest way to split a NSString into an NSArray is the following:
NSString *string = @"hello,world";
NSArray *stringArray = [string componentsSeparatedByString: @","];

Please click here for related products on Amazon!


Add comment

Want to Check Celebrities News?