The first argument is the substring, the second argument is the search string, and an optional starting position can be supplied as a third argument.
第一个参数是子字符串,第二个参数是搜索字符串,可选的起始位置可以提供作为第三个参数。
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。
The second command, /usr/local/bin/search --config /usr/local/etc/sphinx.conf wind, found the substring wind in two part descriptions.
第二条命令 /usr/local/bin/search --config /usr/local/etc/sphinx.confwind在两个零件描述中找到了子字符串 wind。
How do I search a field for a substring?
我怎么搜索领域的一个子串?
You need to search for a substring, and return either the starting position of the match or the matching value itself.
你想搜索一个字符串,获取该子字符串匹配的起始位置或匹配值。
Returns the position of the first substring match in a regular expression search.
返回正则表达式搜索中第一个子字符串匹配项的位置。
The search performs a partial match starting from the beginning of the text, and returning the first item in the list that matches the specified substring.
搜索执行从文本开始处开始的部分匹配,返回列表中第一个与指定的子字符串匹配的项。
The search performs a partial match starting from the beginning of the text at the specified index, and returns the first item in the list that matches the specified substring.
搜寻将从指定索引的文字开头开始执行部分比对,并传回清单中第一个符合指定子字串的项目。
The search performs a partial match starting from the beginning of the text at the specified index, and returns the first item in the list that matches the specified substring.
搜寻将从指定索引的文字开头开始执行部分比对,并传回清单中第一个符合指定子字串的项目。
应用推荐