对象表示文档中的一个连续的区域,由一个起始字符位置和一个结束字符位置定义。
Range object represents a contiguous area in a document, and is defined by a starting character position and an ending character position.
可以使用基于字符的函数来解决在locate函数中指定起始位置的问题,如图7所示。
The problem with specifying the start in the LOCATE function can be solved using the character-based functions, as shown in Figure 7.
这之后是另一个用来对齐输出字符串起始位置的对齐语句。
After that is another alignment statement for the beginning of the string that gives your output.
可以指定一个可选的字符串长度单元来指明在哪些单元中表示函数的起始位置和结果。
An optional string length unit can be specified to indicate in what units the start and result of the function are expressed.
position函数返回一个字符串在另一个字符串中第一次出现的起始位置。
The position function returns the starting position of the first occurrence of one string within another string.
locate函数返回一个字符串在另一个字符串中第一次出现的起始位置。
The LOCATE function returns the starting position of the first occurrence of one string within another string.
除了输入字符串之外,SUBSTRING函数还有其他三个参数,它们分别是:起始位置、长度和代码单元指定。
Along with the input string, the SUBSTRING function has three other arguments, which are start position, length, and code unit specification.
如果指定了可选的起始位置,则表明它是源字符串中开始进行搜索的字符位置。
If the optional start is specified, it indicates the character position in the source-string at which the search is to begin.
第一个参数是子字符串,第二个参数是搜索字符串,可选的起始位置可以提供作为第三个参数。
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.
起始位置指定了输入字符串中结果的第一个字符串长度单元所在的位置。
The start position specifies the position within input string that is to be the first string length unit of the result.
字符串中的偏移量:LOCATE函数的第二个参数,指定了字符串中开始搜索的起始位置。
Offset within a string: The second argument of the LOCATE function, which specifies the starting position within a string to begin the search.
如果起始位置是正值,则它相对于字符串的开头;如果是负值,则是相对于字符串的末尾。
If the starting location is positive, it's relative to the beginning of the string; if it's negative, it's relative to the end of the string.
LOCATE LOCATE ('beach ',p. d escription)返回一个子字符串在搜索字符串中第一次出现的起始位置,如果没找到子字符串,则返回0。
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.
出于效率原因,在得到修剪区的起始和终止位置之前避免拷贝字符串的任何部分。
For efficiency reasons, copying any part of the string is avoided until the trimmed version's start and end positions are known.
你想搜索一个字符串,获取该子字符串匹配的起始位置或匹配值。
You need to search for a substring, and return either the starting position of the match or the matching value itself.
因为范围的结束位置也是起始位置之后七个字符的位置,因此结果是生成了一个包含零个字符的范围。
Because the end position of the range was also seven characters after the start position, the result is a range that consists of zero characters.
从输入字符串中的指定起始位置开始,在该字符串中搜索正则表达式的第一个匹配项。
Searches the input string for the first occurrence of a regular expression, beginning at the specified starting position in the string.
从输入字符串中的指定起始位置开始,在该字符串中搜索正则表达式的第一个匹配项。
Searches the input string for the first occurrence of a regular expression, beginning at the specified starting position in the string.
应用推荐