C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL INSTR() FunctionINSTR(str,substr) is a Sring function of MySQL. This method return 1st occurrence of substring substr in string str. Syntaxselect instr(str,substr); Example 1Select instr('Javanpoint',5,1,'t'); Output: Example 2Select instr('MySql-Function',6,1,'String'); Output:
Next TopicMySQL String
|