Removing first ore more characters from NSString in XCode (Objective-C; iPhone SDK)
NSString *str = @"Quick brown fox jumped over lazy dog";
NSString *newStr = [str substringWithRange:NSMakeRange(6, [str length] - 6)];
// or you can use
NSString *str = @"Quick brown fox jumped over lazy dog";
NSString *newStr = [str substringFromIndex:6];
// in both cases you'll get "brown fox jumped over lazy dog"
NSLog(@"New string: %@", newStr);
We had to disable comments till the problem with spam will be solved, sorry for any inconvenience caused.