How to split this below string
"string1:string2:string3:string4:so on.." to
[0] = "string1"
[1] = "string2"
[2] = "string3:string4:so on.." in NSString ?
Is there a way I can specify the number of splits for which it will stop splitting ? OR How can i achieve this scenario ?
try the following code: