Facebook fql case insensitive version of strpos
-
02-10-2019 - |
Question
What is the case insensitive version of
strpos(field', 'Phrase')
in facebook query language?
Solution
Your closest bet would be to convert both phrases to lowercase (or uppercase) for the comparison, as follows:
strpos(lower(field),lower(phrase))
OTHER TIPS
Try stripos, case insensitive strpos
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow