First page Back Continue Last page Graphics
NSPredicate – SQL like String comparisons
Example one does BEGINSWITH string comparison.
Example two does ENDSWITH string comparison.
Example three does CONTAINS string comparison.
Example four does BEGINSWITH String comparison where [cd] is passed for case insensitive and diacritic insensitive comparison.
Example fifth does LIKE comparison where '*er*' can be anywhere in the string.
Example sixth does LIKE comparison where '???er*' is passed which means first three letters can be anything then 'er' and then any number of any characters.