I know this is a very late reply, but you can get the substring "http://www.abc.com" with the following code:
[@"abc xyz http://www.abc.com aaa bbb ccc" substringWithRange:NSMakeRange(8, 18)]
Of course, you can still use an NSString
for that.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…