The string function, however, is not the only means of converting a Boolean function to a string.
但是string函数并不是将Boolean函数转换成字符串的惟一方法。
Versa provides data conversion functions, one of which is the string function, which converts its argument to a string.
Versa提供数据转换函数,其中之一是string函数,它将其参数转换成字符串。
Note that the new string function is under the SYSIBM function path, compared to the older functions under the SYSFUN version.
注意:新的字符串函数位于SYSIBM函数路径下,而旧一些的函数位于SYSFUN路径下。
If you take the length of a character in CODEUNITS, the output differs according to the CODEUNITS used as inputs to the string function.
如果使用CODEUNITS来获取字符的长度,则用作字符串函数输入的CODEUNITS的不同会导致输出的不同。
Line 1 uses splitlines(), a string function, to separate the list of servers, and then these values are stored as a variable, appServers.
第 1 行使用一个字符串函数splitlines() 分隔服务器列表,然后将这些值作为一个变量appServers 进行存储。
Another example is the serialize-to-string function, which accepts a collection of nodes and serializes them into a single string. Listing 34 has an example.
另一个例子是serialize - to - string函数,它接受一组节点并将它们序列化为一个字符串。
There are eight fundamental types (of values) in Lua: nil, Boolean, number, string, function, thread, table, and userdata.
Lua中的基本类型(值)有8种:nil,布尔型,数字,字符串,函数,线程,表以及用户数据。
In general, one useful approach is to pass a length to the 'counted string' function one smaller than the size of the buffer and then explicitly assign zero to the last character in the buffer.
通常,一种有用的方法是,向“计数字符串”函数传递比缓冲区大小小一的长度,然后将零显式赋给缓冲区中的最后一个字符。
In general, one useful approach is to pass a length to the 'counted string' function one smaller than the size of the buffer and then explicitly assign zero to the last character in the buffer.
通常,一种有用的方法是,向“计数字符串”函数传递比缓冲区大小小一的长度,然后将零显式赋给缓冲区中的最后一个字符。
应用推荐