If the operator MATCHESdoes not work with the selection request, you will essentially have to manually manually:
NOT(name BEGINSWITH[cd] 'a' OR name BEGINSWITH[cd] 'b' OR ... OR name BEGINSWITH[cd] 'z')
It will get everything that doesn't start with a letter. Similar:
name BEGINSWITH[cd] '0' OR name BEGINSWITH[cd] '1' OR ... OR name BEGINSWITH[cd] '9'
Would get everything that starts with a number.
change the comment triggered another idea:
If you could extract the first letter name, you could do:
NOT(name[0] IN %@), arrayOfLetters
( name[0]is the first character name, and arrayOfLettersis an NSArrayalphabetic character)
source
share