The position function returns the starting position of the first occurrence of one string within another string.
position函数返回一个字符串在另一个字符串中第一次出现的起始位置。
2
The LOCATE function returns the starting position of the first occurrence of one string within another string.
locate函数返回一个字符串在另一个字符串中第一次出现的起始位置。
3
LOCATE LOCATE (' beach ', p.description) Returns the starting location for the first occurrence of a substring in a search string, or zero if the substring isn't found.
LOCATE LOCATE (' beach ',p. d escription)返回一个子字符串在搜索字符串中第一次出现的起始位置,如果没找到子字符串,则返回0。