This tutorial explains how to use the MySQL FIND_IN_SET function with syntax and examples.
The MySQL FIND_IN_SET function returns the position of a string in a comma-delimited string list.
The syntax for the FIND_IN_SET function in MySQL is:
The string to find.
The list of string values separated by commas that is to be searched.
The FIND_IN_SET function can be used in the following versions of MySQL:
Let's look at some MySQL FIND_IN_SET function examples and explore how to use the FIND_IN_SET function in MySQL.
For example: