The string function, however, is not the only means of converting a Boolean function to a string.
但是string函数并不是将Boolean函数转换成字符串的惟一方法。
This can be done by passing the value to the String function as in this example: eval (String (formula));.
这可以像本例中一样通过将值传递给String函数来做到:eval (String (formula));。
The string function has the specification of numeric value, or the result is a numeric value related to the input data.
字符串函数拥有数值规范,或者说结果是输入数据相关的数值。
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 进行存储。
Along with the input string, the SUBSTRING function has three other arguments, which are start position, length, and code unit specification.
除了输入字符串之外,SUBSTRING函数还有其他三个参数,它们分别是:起始位置、长度和代码单元指定。
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函数,它接受一组节点并将它们序列化为一个字符串。
The parseInt function parses a string and returns an integer.
字符串函数用于将一个字符串转换为整型数字。
The function begins by creating an empty string.
此函数首先创建了一个空字符串。
Whatever string is returned by that function is then printed to the screen.
由此函数返回的任何字符串都会被打印到屏幕。
If all quotes are now removed from that string by some function in the application code, the string analysis model detects that this string cannot possibly hold quotes from here on.
如果所有的引号现在都被这个应用程序代码中的一些功能从此字符串中清除掉,那么这个字符串分析模型就会检测到这个字符串从此以后就不可能包含引号。
Pass the updated text string into this function.
将更新过的文本字符串传递给这个函数。
This function takes a string value as input which is a valid SQL full select statement.
此函数将一个字符串值作为输入,该字符串是一个有效的SQL全选择语句。
Please be advised that this function returns a string and not XML.
请注意此函数返回的是一个字符串,而非 XML。
SECLABEL_TO_CHAR: This function returns a string representation of the values that make up a security label.
SECLABEL_TO_CHAR:该函数返回组成一个安全标签的值的一个字符串表示。
You pass in the URL and a string naming the callback function.
传递一个URL和命名回调函数的字符串。
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函数的输出。
The example in Listing 1 illustrates variable creation of a variety of types (int, float, string, array, and function).
清单1中的示例说明了如何创建多种类型的变量(整型、浮点、字符串、数组和函数)。
For example, you were expecting a String, but the function inferred an Any for the returned object.
比如,你希望获得一个String,但是函数推断返回类型为any。
The puts function displays a string on the console.
puts函数在控制台上显示一个字符串。
This function divides the string at every point that matches the provided regex.
此函数将在匹配给定regex的每个点上划分字符串。
Do this by calling the Dojo string utility function substitute.
这通过调用dojo字符串工具函数substitute来完成。
The addCallback function takes a string as its first parameter.
addcallback函数的第一个参数是字符串。
There are eight fundamental types (of values) in Lua: nil, Boolean, number, string, function, thread, table, and userdata.
Lua中的基本类型(值)有8种:nil,布尔型,数字,字符串,函数,线程,表以及用户数据。
So if the first string is bed, the function call translate('bed', 'abcde...', 'ABCDE...') returns BED.
因此,如果第一个字符串是bed ,那么该函数调用translate('bed', 'abcde...' , 'ABCDE...'
But there's a slight twist: the onclick property wants to be fed a function reference — not the string name of a function, but a reference to the function itself.
但是有点细微的地方:onclick属性需要提供函数引用——不是函数的字符串名称,而是函数本身的引用。
The function returns \ 0 when it reaches the end of the string. The function could be implemented as follows.
当搜索到字符串末尾时,函数返回\0。
The function returns \ 0 when it reaches the end of the string. The function could be implemented as follows.
当搜索到字符串末尾时,函数返回\0。
应用推荐