POSITION(substr IN str) 
返回子串substr在字符串str第一个出现的位置,如果substr不是在str里面,返回0. 
mysql> select LOCATE('bar', 'foobarbar');
        -> 4
mysql> select LOCATE('xbar', 'foobar');
        -> 0
该函数是多字节可靠的。  LOCATE(substr,str,pos) 
返回子串substr在字符串str第一个出现的位置,从位置pos开始。如果substr不是在str里面,返回0。
mysql> select LOCATE('bar', 'foobarbar',5);
        -> 7
这函数是多字节可靠的。 用上面的操作