FIND_IN_SET
Return the index of a string in a comma-separated list. This function finds the position of a string within a list of strings separated by commas.
Syntax
FIND_IN_SET(pattern, strlist)Description
Examples
SELECT FIND_IN_SET('b','a,b,c,d') AS "Found Results";
+---------------+
| Found Results |
+---------------+
| 2 |
+---------------+See Also
Last updated
Was this helpful?

