MySQL INSTR() Function

INSTR(str,substr) is a Sring function of MySQL. This method return 1st occurrence of substring substr in string str.

Syntax

Example 1

Output:


MySQL String INSTR() Function

Example 2

Output:


MySQL String INSTR() Function
Next TopicMySQL String