98
MySQL LOCATE() Function
LOCATE(substr,str) is a Sring function of MySQL. This method returns the first occurrence of given substr in the given string,
Syntax
Example 1
Output:
Example 2
Output:
Next TopicMySQL String