what does the `'c` kindof-suffix represent?
# macos
a
what does the
'c
kindof-suffix represent?
f
'string'c
= case insensitive
mdfind syntax:
Copy code
&& = AND
 || = OR
 * = Wildcard symbol
 'string'c = Case insensitive (eg. 'StRiNg' == 'string'c)
 'string'd = Diacritical Mark Insensitive (eg. 'śtrîñg' == 'string'd)
you can also stack case and diacritical insensitivity
So:
Copy code
'StRîñg' == 'string'cd
though the diacritical marks are usually less of an issue unless dealing with a substantially international install-base
a
and I was thinking NSPredicate was hard to interact with, it makes sense mdfind would have this stuff but I swear I've never seen a reference cover it before