I have NSString in the following format
NSString *string1 = @"webservices/employee/1"; and another string with
NSString *string2 = @"webservices/manaager/1";
I want to get the string in between “werbservice/” and “/1” using a common method.
Is there any way to do this?
1 Answer