C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL POSITION() FunctionPOSITION(substr IN str) is a Sring function of MySQL. This method returns position of the given sub string in string. Syntax
select position(substr in str) Example 1
select position('point' in 'TheDeveloperBlog');
Output:
Example 2
select position('string' in 'mysql_string_function');
Output:
Next TopicMySQL String
|