views:

44

answers:

1

Hi!

What is the case insensitive version of

strpos(field', 'Phrase')

in facebook query language?

+1  A: 

Your closest bet would be to convert both phrases to lowercase (or uppercase) for the comparison, as follows:

strpos(lower(field),lower(phrase))
Dustin Fineout
I just thought there would be something like stripos, similar to in php. ANyway - old trick ;-) thx
Lukasz
You would think so, but it wasn't even in PHP until 5. Cheers!
Dustin Fineout