NSInteger timeNum = time;
NSMutableArray theResultArray = [[NSMutableArray alloc] init];
[theResultArray insertObject:[NSNumber numberWithInt:timeNum] atIndex:rightIndex];
This is the way we do to insert NSInteger to array. How to i do it for NSString?