I have a NSMutableString where i need to insert another NSString at two places. My NSMutableString is
NSMutableString *webServiceLinkWithResponses = [[NSMutableString alloc] initWithString:@"http://lmsstaging.2xprime.com/services/ParticipantService.cfc?method=setVideoExamResults&student_id=10082&course_id=VRT_TRA&lesson=904&examtype=r&question_num=&ansValue="];
I need to insert one String(One) after “question_num=” and another string(One) after “ansValue=” so my final string should be like
Any suggestions on this?
Try this:
Tell me if it helps!