If the index of the current letter is equal to the length of the string, this variable is an empty string.
如果当前字母的下标和字符串的长度相等,那么这个变量是一个空字符串。
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的字符串,字符串最后是一个空结束符。
The length of the string is two, if character semantics is used to calculate the length of string.
如果使用字符语义计算字符串的长度,则该字符串的长度为2。
Even though there's four bytes the length of the string is consistent with what a human being would interpret as the length 3 of the string which is 3.
即使那里有4个字节,字符串的长度,与我们所认为的长度是一致的,字符串的长度是。
I can get the character count (from the string length) and the word count (by splitting the string by Spaces and counting the results).
我获得了字符计数(计算字符串长度)和单词数(使用空格将字符串断开并计算结果)。
So, to get the correct length of string encoded in utf-8, you have to use mb_strlen (string, "utf-8") instead of just strlen (string).
因而,要获得以utf - 8编码的字符串的正确长度,必须使用mb_strlen (string,“ utf - 8 ”),而不只是strlen (string)。
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,除此之外,都与其他字符串是一样的。
Using a binary search tree or dividing the string into segments as long as the square root of the length of the string will solve the problem.
用一个二叉搜索树或者将串切分成长度的平方根那么长的小段都可以解决这个问题。
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.
为了弥补弹奏时的琴弦拉伸,可以将每弦第七品音调到第七品泛音音高。
应用推荐