To use substring in IOS using Objective-C you can use the snippet below.
Sample Objective-C
NSString *myString = @"http://codesnippets.fesslersoft.de"; NSString *myNewString = [myString substringFromIndex:7]; //myNewString will be "codesnippets.fesslersoft.de"