这些函数处理或返回字符串。
它返回字符串值ibm。
如果不匹配,那么就会返回字符串None found 。
If no match is found, then the string None found! Is returned.
无论您将哪种数据格式传入这些函数,它们将始终返回字符串。
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.
注意因为Html.Action辅助方法返回字符串,必须要等号"="。
Notice that because the Html.Action helper method returns a string, the equal sign (=) is required.
如果客户机的加密过的返回字符串与本地加密的字符串匹配,则运行关闭命令。
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).
例如,对于DateTime小部件,它返回字符串 up_color=green&up_firstDay=0。
For instance, for the Date Time gadget, it returns the string up_color=green&up_firstDay=0.
一些反射方法,例如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.
使用基于字符的函数可以解决将字节位置返回为字符位置的问题。
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.
然后哈希接受任何字符串或字母,单个字符,返回给我一个数字,注意我要做什么。
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.
然后它返回包含该字符串的所有文件列表。
It then returns a list of all the files that contain that string.
前者加密一个纯文本的字符串,返回其编码;后者解密一个加密了的字符串并返回纯文本。
The former encrypts a plain-text string, returning its encoding; the latter decrypts an encoded string and returns plain text.
这个方法完全忽略所有可用的编码信息,所返回的字符串总是用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.
由此函数返回的任何字符串都会被打印到屏幕。
Whatever string is returned by that function is then printed to the screen.
应用推荐