无论您将哪种数据格式传入这些函数,它们将始终返回字符串。
No matter what data format you put into these functions, they will always return a string.
该方法所做的事情就是返回字符串,用作下一个页面的导航结果。
All this method does is return a string that is used as a navigation outcome for the next page.
修改getMsg控制器动作以获取字符串参数并返回字符串值。
Modify the getMsg controller action to take a string parameter and return a string value.
如果客户机的加密过的返回字符串与本地加密的字符串匹配,则运行关闭命令。
If the client's encrypted return string and the locally encrypted string match, the shutdown command is run.
不过它通过删除不同的关键字来显示使用此函数的某些可能性并且返回字符串的总字数。
It shows some potential for using the function but by removing the distinct keyword, it returns the total word count of a string.
您可以随意将这个实现的返回字符串改为您所感兴趣的字符串(万一您不愿使用我的名字)。
Feel free to change the implementation return string to one that appeals to you (in case you object to using my name).
值得一提的是,如果结果集返回xml字符串,应该用花括号将返回字符串中的变量包围起来。
One thing that is worth noting: when you return a string of XML as your result set, you should surround the variables in your return string within curly braces.
developerapi类将定义获取两个字符串参数并返回字符串值的developer方法。
The DeveloperApi class defines a developer method that takes two string parameters and returns a string value. The developer_api.rb.
如果值不是数字(譬如,假设它是number (xyz)),则函数返回字符串NaN(表示不是数字)。
If the value isn't a number (say it's number (xyz), for example), the function returns the string NaN (not a number).
这里的split方法处理包含指定分隔字符(在这里是逗号)的输入字符串(字符串类型),返回字符串的列表。
Here, split is a method that processes an input string (of the type string) that contains a specified delimiter character (in this case a comma) and returns a list of strings.
在类中定义方法echo,该方法接受字符串作为参数并返回字符串作为结果(类中的函数和sub被称为方法)。
Defines a method in the class called Echo that accepts a string as a parameter and returns a string as a result (functions and subs in classes are referred to as methods).
一些反射方法,例如instance_variables和constants,不再返回字符串数组,而是返回符号数组。
Reflection methods like instance_variables, and constants now return arrays of.
HelloMessageApi 类将定义 hello_messageAPI方法,该方法将获取两个字符串参数,名字和姓氏,并返回字符串值。
The HelloMessageApi class defines a hello_message API method that takes two string parameters, firstname and lastname, and returns a string value. The hello_message_api.rb script is shown below.
如果不是所有的字符都能够在函数调用时排队,则最终的返回值是发送的字符数。
If not all characters could be queued in the call, the number of characters sent is the final return value.
如果由服务器发出,则响应消息作为字符lob (CLOB)返回。
A response message is returned as character LOB (CLOB) if issued by the server.
在预编译和绑定时,代码页派生于用于预编译语句和SQLCA中返回的所有字符数据的数据库连接。
At precompile and bind time, the code page derived at the database connection is used for precompiled statements, and any character data returned in the SQLCA.
使用基于字符的函数可以解决将字节位置返回为字符位置的问题。
The problem of byte positions being returned for the character positions can be solved using character-based functions.
数字会返回专门的标记NUMBER;其余的都只是作为普通的字符返回。
Numbers have the special token NUMBER returned; everything else is just returned as plain characters.
isPrintable,在给定字符串不包含不可打印字符时返回TRUE,而在给定字符串确实包含不可打印字符时返回FALSE。
IsPrintable , which returns TRUE if the given string contains no unprintable characters and returns FALSE if the given string does contain printable characters.
这些数字将会在可能的合法字符范围之外;这样,lexer可以原样返回单个字符本身,或者返回使用这些定义值的记号。
These Numbers will be outside the range of possible valid characters; thus, the lexer can return individual characters as themselves, or special tokens using these defined values.
然后哈希接受任何字符串或字母,单个字符,返回给我一个数字,注意我要做什么。
And then hash character takes in any string or character, single character, gives me back a number. Notice what I do.
如SQL标准中所述,此函数返回输入字符串的八位字节长度或字节长度。
This function, as mentioned in SQL standard, returns the length of the input string in octets or bytes.
它将按需返回在输入字符串中检测到的各个匹配项。
It will return each match detected within the input string as requested.
这个方法获得未加密数据,然后将它作为加密字符串返回。
This method takes the unencrypted data and returns it as an encrypted string.
该对象用于在客户机上解析xml或文本,在这个例子中是解析从服务器返回的字符串。
It is used to parse either XML or text on the client — in this case to parse the string returned from the server.
前者加密一个纯文本的字符串,返回其编码;后者解密一个加密了的字符串并返回纯文本。
The former encrypts a plain-text string, returning its encoding; the latter decrypts an encoded string and returns plain text.
如果属性不存在,那么这两种方法都将返回空字符串。
Both of these methods return an empty string if the attribute doesn't exist.
这个方法完全忽略所有可用的编码信息,所返回的字符串总是用utf - 16编码的。
This method completely ignores all the encoding information available, and the returned string is always encoded in UTF-16.
至此,我们仅处理过简单的参数和返回值:字符串、整型、简单数组等等。
So far, we have dealt only with simple parameters and return values: strings, integers, simple arrays, and the like.
然后此方法从网站返回的字符串中提取最新的交易价格,并将数据返回调用程序。
The method then extracts the last trading price from the string returned by the Web site, and returns that value to the caller.
应用推荐