In MySQL, the POSITION() function returns the position of the first occurrence of a substring within the string.
This function is actually a synonym for LOCATE(), but with a slightly different syntax. The LOCATE() function also has extra functionality, in that it allows you to define a starting position fro your search.