How to check the last char of an NSString March 22, 2023 by Tarik NSString *data = @"abcde,"; if([data hasSuffix:@","]) // This returns true in this example // do something