INSTR
suggest changeReturn the index of the first occurrence of a substring (zero if not found)
Syntax: INSTR ( string, substring )
SELECT INSTR('FooBarBar', 'Bar') -- return 4
SELECT INSTR('FooBarBar', 'Xar') -- return 0
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents