Javatpoint Logo
Javatpoint Logo

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




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA