How do we get a substring from :
NSString *string = @"exmple string [image]";
where we want to extract the string in between "[" and "]".
I was thinking of using NSRange with:
NSRange rangeStart = [title rangeOfString:@"[" options:NSLiteralSearch];
NSRange rangeEnd = [title rangeOfString:@"]" options:NSLiteralSearch];
But i can't seem to find a solution on this.