String Functions MySQL Tutorial

This function does not work properly if the first argument contains a comma (',') character.

mysql>
mysql> SELECT FIND_IN_SET('b','a,b,c,d');
+----------------------------+
| FIND_IN_SET('b','a,b,c,d') |
+----------------------------+
|                          2 |
+----------------------------+
1 row in set (0.00 sec)