If string to be searched is found, the result is a number from 1 to the actual length of input string, expressed in the code units that are explicitly specified.
如果找到搜索字符串,则所得结果是一个从1到输入字符串实际长度之间的一个数字,使用显式指定的代码单元来表示。
The start position specifies the position within input string that is to be the first string length unit of the result.
起始位置指定了输入字符串中结果的第一个字符串长度单元所在的位置。
In many situations, you need the string length in terms of code units, the character-based functions could be used to find the length of the string in terms of string units.
在很多情形下,您需要根据代码单元计算的字符串长度,可以使用基于字符的函数来获取根据字符串单元计算的字符串长度。
The string operation to be performed may result in different outputs, depending on the string length unit that is used for counting the characters.
待执行的字符串操作可能导致不同的输出,取决于计算字符所使用的字符串长度单元。
A substring is zero or more contiguous string length units of input string.
子字符串是输入字符串的零个或多个相邻字符串长度单元。
The second occurrence of a string is replaced by a pointer (in the form of a pair — distance and length) to the previous string.
二次出现的字符串由一个指向前一字符串的指针(以对的形式——距离和长度)代替。
When OCTETS is used as the string length unit, the length of a string is determined by simply counting the bytes of the string.
使用OCTETS作为字符串长度单元时,通过简单地计算字符串的字节数即可确定字符串的长度。
The counting of string length using a byte is referred to as byte semantics in this article, and the counting of string length using the number of characters is referred to as character semantics.
本文中将使用字节计算字符串长度的方法称作字节语义,而使用字符数计算字符串长度的方法称作字符语义。
The character-based string functions can be used to solve the problem of getting the length of string in terms of CODEUNITS.
使用基于字符的字符串函数可以解决获取基于CODEUNITS的字符串长度时的问题。
If the index of the current letter is less than the length of the string, you invoke your named template again, passing the original string and incrementing the index by 1.
如果当前字母的下标小于字符串的长度,则再次调用已命名的模板,传递原始字符串并把下标加1。
In the case of a single-byte character encoding scheme, a single byte constitutes a character and the length of a single byte string is the same as the byte length of the string.
对于单字节字符编码模式,一个字节组成一个字符,单字节字符串的长度与字符串的字节长度相同。
Length of a string variable: Input argument for the SUBSTR function, which determines the desired length of the resulting string or output of the length function.
字符串变量的长度:substr函数的输入参数,决定了结果字符串的期望长度或length函数的输出。
A string whose length is greater than zero is always evaluated as True when resolved to a Boolean function, even if its value is the string 'false'.
长度大于0的字符串在解析为Boolean函数时,总是被判断为True,即使它的值是字符串'false '时亦是如此。
When told to print no more than n bytes, snprintf guarantees that it creates a string of length no more than n-1, with a null terminator at the end of the string.
当被告知输出不超过n个字节时,snprintf保证会创建一个长度不超过n-1的字符串,字符串最后是一个空结束符。
However, the.net client de-serializes it into a zero length string instead of a null string.
然而,. NET客户端将其反序列化成长度为0的字符串而不是空的字符串。
I can get the character count (from the string length) and the word count (by splitting the string by Spaces and counting the results).
我获得了字符计数(计算字符串长度)和单词数(使用空格将字符串断开并计算结果)。
Some of the typical string-related checks would validate whether an empty string has 0 length, accessing out-of-index results in an error message or exception, and so on.
与字符串相关的一些典型的检查,会验证空字符串的长度是否为 0,访问范围超出索引是否导致错误消息或异常,等等。
Data length: For example, an account number must have a particular string length, a minimum string length, or a maximum string length.
数据长度:例如,帐目编码必须具备指定长度、最小长度或者最大长度。
The md5() function hashes whatever string is fed to it and turns it into a 32-character fixed-length string.
md5()函数可以散列反馈的任何字符串,并将其转变为固定长度为 32 个字符的字符串。
You can also use string functions to report string attributes such as length or position of a sub-string, for example
还可以使用string函数来报告字符串属性,如子串的长度或位置,例如
The getTagAndLengthBytes() method will prepend the name-string tag byte (context-specific tag number 0) and length bytes before the SEQUENCE and return the complete name-string structure.
getTagAndLengthBytes()方法会在SEQUENCE 前面附加 name-string标签字节(上下文特定的标签数字0)以及长度字节,并返回完整的 name-string结构。
If the argument is an empty sequence, fn: string (seq) will return a zero-length string, but the other function returns an empty sequence.
如果参数是空序列,fn:string (seq)将返回长度为零的字符串,另一个函数则返回空白序列。
The description column is a variable-length character string, so it expects a string (which you indicate by enclosing the character data within single quotes).
description列是长度可变的字符串,所以它预计是一个字符串(通过将字符数据括在单引号中指明)。
An empty string contains no characters and has length 0, but other than that, it is the same as any other string.
空字符串不包含字符,长度为0,除此之外,都与其他字符串是一样的。
If the pointer is valid the length of the string is found at the 4 bytes preceding the start of the string.
如果指针是合法的,在这个字符串起始的前面4个字节中有这个字符串的长度。
To compensate for string stretching when played, intonation or string length tuning can be done by tuning the seventh fret notes to the seventh fret harmonic pitches for each string.
为了弥补弹奏时的琴弦拉伸,可以将每弦第七品音调到第七品泛音音高。
For each box sequence in the input file, output the length of the longest nesting string on one line followed on the next line by a list of the boxes that comprise this string in order.
对应输入的每个盒子序列,应在第一行输出最长的嵌套串长度,在下一行按顺序输入组成这个嵌套串的盒子列表。
When fishing the string fish in sand producer, string milling length should be optimized and a downhole string dynamic analysis model is established to calculate the length.
出砂井落鱼管柱打捞需要对管柱的套铣长度进行选择,针对这一问题建立了井下管柱受力分析计算模型。
Note: If length is larger than the length of string, the entire string will be returned as the only element of the array.
注意点:如果长度大于字符串长度,那么整个字符串将以单独的元素返回。
Returns a new string of a specified length in which the beginning of the current string is padded with Spaces or with a specified Unicode character.
传回新字串,此字串会以空格填补左侧至指定的总长度,靠右对齐这个执行个体中的字元。
应用推荐