根据代码单元计算的字符串长度。
字符串长度可能因语言的不同而变化。
字符串长度单元属于数值。
所有字符串长度相同。
函数将返回书写的字符串长度。
The fprintf() function returns the length of the written string.
我怎么能看不明的输入字符串长度吗?
返回改变后的字符串长度。
首先,我先做一个检查,我们以前使用过字符串长度函数。
First, I'm going to do a sanity check strlen so we've used string length, strlen, before.
子字符串是输入字符串的零个或多个相邻字符串长度单元。
A substring is zero or more contiguous string length units of input string.
为了避免这一点,您必须显式地向代码添加字符串长度检查。
To avoid this, you must explicitly add string length checks to the code.
环境字符串长度。
请考虑一个包含5个字符串的向量;希望按字符串长度的升序排序。
Consider a vector of five strings; you want to sort them on the basis of increasing string length.
验证错误,如果合并生成字符串的字符串长度超过了第一。
A validation error is generated if the combined strings exceed the length of the first string.
起始位置指定了输入字符串中结果的第一个字符串长度单元所在的位置。
The start position specifies the position within input string that is to be the first string length unit of the result.
清单3展示了相同的代码,但是添加了测试单词字符串长度和频率的逻辑。
Listing 3 shows the same code with logic added that tests for word string length and frequency.
length得到字符串长度“ 1234 ” .length返回4。
这个函数将返回写入的字符串长度;如果执行失败将返回False。
This function returns the length of the written string, or FALSE on failure.
这种形式的字符串截断非常简便,只需用冒号分开来指定起始字符和子字符串长度。
This form of string chopping can come in quite handy; simply specify the character to start from and the length of the substring, all separated by colons.
您可以提供完全限定路径,只要APPLICID字符串长度不超过256个字符。
You can provide a fully-qualified path as long as the APPLICID string does not exceed 256 characters in length.
可以指定一个可选的字符串长度单元来指明在哪些单元中表示函数的起始位置和结果。
An optional string length unit can be specified to indicate in what units the start and result of the function are expressed.
当String构造器运行时,字符串长度和偏移量被设置成所需要的值。
When the String constructor runs, the length and offset are then set to their desired values.
待执行的字符串操作可能导致不同的输出,取决于计算字符所使用的字符串长度单元。
The string operation to be performed may result in different outputs, depending on the string length unit that is used for counting the characters.
注意点:如果长度大于字符串长度,那么整个字符串将以单独的元素返回。
Note: If length is larger than the length of string, the entire string will be returned as the only element of the array.
我获得了字符计数(计算字符串长度)和单词数(使用空格将字符串断开并计算结果)。
I can get the character count (from the string length) and the word count (by splitting the string by Spaces and counting the results).
数据库表中可能有某些关键字值大于此附件支持的最大字符串长度(252字节)。
Some of the possible key values in the database table are longer than the maximum string length (252 bytes) supported by this add-on.
字符串长度检查:在输入框输入超出长度的字符串将会被允许,但要确保它不被程序通过。
String length check: put excess of characters in a input box should support and make sure it is not taking that.
使用OCTETS作为字符串长度单元时,通过简单地计算字符串的字节数即可确定字符串的长度。
When OCTETS is used as the string length unit, the length of a string is determined by simply counting the bytes of the string.
使用基于字符的字符串函数可以解决获取基于CODEUNITS的字符串长度时的问题。
The character-based string functions can be used to solve the problem of getting the length of string in terms of CODEUNITS.
您将使用POST而不是GET,因为您希望避免任何因查询字符串长度过长和字符串转义而引起的问题。
You use POST instead of GET because you want to avoid any issues with the query string length being exceeded or escaping of strings.
使用CHARACTER_LENGTH并使用OCTETS作为字符串长度单元时也会产生同样的功能。
The same functionality could be derived by using CHARACTER_LENGTH and using OCTETS as string length units.
应用推荐