Google News
logo
MySQL - Quiz(MCQ)
Which string function returns the index of the first occurrence of substring?
A)
INSERT()
B)
INSTR()
C)
INFSTR()
D)
INSTRING()

Correct Answer :   INSTR()


Explanation : The string funtion ‘INSTR()’ is used to return the index of the first occurrence of the substring. The function ‘INSERT()’ is used to insert a substring at the specified position up to the specified number of characters.

Advertisement