Substrings from NSString :: N-FAQ Aasim Naseem, March 13, 2012March 12, 2024 Hello iOS geeks … Here is a small tip for getting a substring from NSString; NSString class provide following methods for splitting a string; [sourcecode lang=”objc”] – (NSString *)substringFromIndex:(NSUInteger)from; – (NSString *)substringToIndex:(NSUInteger)to; – (NSString *)substringWithRange:(NSRange)range; – (NSRange)rangeOfString:(NSString *)<em>aString;</em> [/sourcecode] Following code will demonstrate itself; Continue Reading