我们传递给Substring一个参数:我们想要开始提取字符的开始位置。
We pass Substring a single parameter: the starting position where we want to begin extracting characters.
如果指定了可选的起始位置,则表明它是源字符串中开始进行搜索的字符位置。
If the optional start is specified, it indicates the character position in the source-string at which the search is to begin.
第一,在创建字符串时,您可以混合使用单引号和双引号,只要字符串在开始位置和结束位置使用同一类型的引号。
First, you can mix single and double quotation marks when creating a string, as long as the string USES the same type of quotation mark at the beginning and end.
我们从当前文档偏移位置开始,向后读取文档字符。
Starting at the current document offset, we read document characters backwards.
字符串中的偏移量:LOCATE函数的第二个参数,指定了字符串中开始搜索的起始位置。
Offset within a string: The second argument of the LOCATE function, which specifies the starting position within a string to begin the search.
还要保证只有出现在字符串开始位置的字符才能忽略。
You must also make sure to ignore the characters only if they appear at the first of the string.
如果您知道文件属主信息开始的第一个字符的确切位置,可以使用- c选项来显示文件属主的第一个字符。
If you know the exact position at which the first character of the file owner begins, you can use -c option to display the first character of the file owner.
startPosition:在搜索字符串中您希望开始搜索的位置。
StartPosition: Where in the search string you wish to start search from.
startPosition:在搜索字符串中您希望开始搜索的位置。
startPosition: Where in the search string you wish to start a search from.
要做到这一点,传递原始字符串并把开始位置加1。
To do that, you pass the original string and increment the starting position by one.
记住您的JDNI 查询字符串需要将您从在名称空间中开始的位置移动到您的对象所储存的位置。
Remember that your JNDI lookup string needs to take you from the location where you start in the namespace to the location where your object is stored.
当一个正则表达式投入使用时,首先要确定目标字符串中开始搜索的位置。
When a regex is put to use, the first step is to determine the position within the target string where the search should start.
从此实例中的指定位置开始删除指定数目的字符。
Deletes a specified number of characters from this instance beginning at a specified position.
返回某字符串中另一个指定字符串开始的位置。
Returns the position in a string at which another specified string begins.
确定的开始和结束标记,从第一个字符的起始位置的第一扫描功能中不包含分隔符(成为令牌的开始)。
To determine the beginning and the end of a token, the function first scans from the starting location for the first character not contained in delimiters (which becomes the beginning of the token).
指定想要得到字符串的长度,(可选,没有指定则返回从指定开始位置到原字符串结束位置)。
The number of characters in the substring. If this argument is omitted, the returned substring includes all characters from the starting position to the end of the string.
下面的代码示例把从字符数组中指定位置开始的一定数目的字符写入现有的字符串。
The following code example writes a certain number of characters from a character array into an existing string, starting at a specified place in the array.
从输入字符串中的指定起始位置开始,在该字符串中搜索正则表达式的第一个匹配项。
Searches the input string for the first occurrence of a regular expression, beginning at the specified starting position in the string.
搜索指定的子字符串,并返回源字符串内从指定的索引位置到字符串结尾这一部分中第一个匹配项的从零开始的索引。
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string.
搜索指定的子字符串,并返回源字符串内从指定的索引位置到字符串结尾这一部分中第一个匹配项的从零开始的索引。
Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string.
应用推荐