I have an array, see below,
NSMutableArray *myArray=[[NSMutableArray alloc]initWithObjects:@"45 x 2",@"76 x 3",@"98 x 3", nil];
Now i want all the string which is right to the character “x” in to another array. That is i need an array with elements @"2",@"3",@"3" from the above array.
How can i achieve this??
thanks..
1 Answer