POSITION
Finds the character where a substring starts within a string.
Syntax
POSITION(<substring> IN <text>)
STRPOS(<text>, <substring>)
Returns the number of the character where the substring first starts, counting from 1. If there's no such substring — 0. Often used together with SUBSTRING or LEFT to cut out a piece before or after a certain character.