我正在使用FQL搜索朋友。这是一个有效的例子:
SELECT uid, name FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) AND strpos(lower(name),'hugo') >=0
现在,我想进行搜索,返回包含“anto”的所有朋友: 示例名称(注意特殊字符:ó): “antóniomanuel” “antonieta maria”
我怎样才能做到这一点? FQL中是否有替换功能?
注意:我不想使用以下内容: (...)AND(strpos(lower(name),'anto')> = 0 OR strpos(lower(name),'antó')> = 0)
谢谢