I have two strings.
NSString *a=@"1_2";
NSString *b=@"1_3";
I want to compare these two string .I want that these two string should be equal. By equal I mean first two characters are the same.
Is there any method which can compare these two string?
1 Answer