Either way, the input is changed into a new string object.
两种方法都可以将输入的内容更改为新的字符串对象。
Update the hello.jsp by adding a new String called hello (Figure 4).
更新hello .jsp,在其中添加一个名为hello的新字符串(图4)。
For a new string we allocate a dynamic buffer to hold the text.
在创建一个新的字符串时,我们分配一块动态的缓冲区来保存它所包含的文本。
Set this new String value to the JVM maximum heap size required in bytes.
将这个新的string值设置为所需的最大jvm堆大小(以字节为单位)。
Returns a new string made by concatenating the given strings with a separator.
由串连的字串组成的新字串,串连的字串之间以分隔字串分隔。
A bride can wear a new string of pearls, or use the wedding gown as the new item.
新娘可以带一串新的珍珠项链,或穿着婚宴的礼服做为这新的东西。
It then copies the contents of the buffer into a new string on return from the call.
然后,在从调用返回时将该缓冲区的内容复制到新字符串中。
All of these types of methods return a new string, never changing the receiver of the message.
所有这类方法都返回一个新字符串,而从来不会改变消息的接收者。
A method that creates and returns a new string is called and the new string is never used.
调用了创建并返回新字符串的方法,但从未使用此新字符串。
Returns a new string in which a specified number of characters from the current string are deleted.
将指定字元数从起始于指定位置的这个执行个体中删除。
You simply place the desired text inside a pair of quotation marks and voila: a new string (see Listing 1).
只要将所需的文本放入一对引号中,就完成了一个新字符串的创建(参见清单1)。
Add a new string substitution variable named WAS_HOME with the value again pointing to your WAS_HOME directory (Figure 4).
添加一个名为WAS_HOME新的字符串替代变量,它的值仍然指向您的WAS_HOME目录(如图4所示)。
Let's start with a basic plug-in that exposes an extension point for registering new string mappings for a synonym service.
让我们从公开扩展点的基本插件开始,这样可以为同义词服务注册新的字符串映射。
Note that the new string function is under the SYSIBM function path, compared to the older functions under the SYSFUN version.
注意:新的字符串函数位于SYSIBM函数路径下,而旧一些的函数位于SYSFUN路径下。
Here, we need to wrap the selected text into the selected style tags and replace the selected text in the document with this new string.
这里我们需要将选中的文本包装到选定的样式标签中,并使用这个新的字符串替换文档里选中的文本。
Therefore, any operation on a string, including string concatenation, produces a new string object, rather than modifying an existing one.
所以,在字符串上的任何操作,包括字符串连接,都产生一个新的字符串对象,而不是更改一个存在的字符串。
Returns a new string that right-aligns the characters in this instance by padding them with Spaces on the left, for a specified total length.
传回新字串,此字串会以空格填补左侧至指定的总长度,靠右对齐这个执行个体中的字元。
Returns a new string of a specified length in which the end of the current string is padded with Spaces or with a specified Unicode character.
返回一个新字符串,该字符串通过在此字符串中的字符右侧填充空格来达到指定的总长度,从而使这些字符左对齐。
std::string change_extension(const path& oldpath, const std::string new_extension): This API returns a new string that reflects the changed name.
string change_extension(constpath& oldpath, conststd::string new_extension):此API将返回反映更改后的名称的新字符串。
The new string-to-codepoints and codepoints-to-string functions of XPath 2.0 give you a means to manipulate the characters that make up a string.
XPath 2.0新增函数string -to -codepoints和codepoints - to -string提供了操纵字符串字符的方法。
That's one unstructured string for the entire document, but with all the new string functions available, you can perform additional processing as needed.
对于整个文档来说它是没有结构的字符串,但是利用新增加的字符串函数,我们可以根据需要执行进一步处理。
In turn, Table 3 shows how the static analysis engine is strengthened by the new string analysis capability and the support of dynamic analysis techniques.
反过来,表格3显示了静态分析引擎是如何被新的字符串分析性能和动态分析技巧所加强的。
Returns a new string in which all occurrences of a specified Unicode character in this instance are replaced with another specified Unicode character.
返回一个新字符串,其中当前实例中出现的所有指定字符串都替换为另一个指定的字符串。
If you need the ability to change the characters in a string (as opposed to creating a new string), you might want to use a list of characters instead.
如果你要修改字符串里面的字符(而不是要建立一个新字符串),你最好还是用字符列表吧。
Using regedit.exe under the key HKEY_LOCAL_MACHINE \ SOFTWARE \ IBM \ MachineLocation, we create a new string value called "location," as shown in Figure 4.
使用regedit. exe,在键hkey_local_machine \ SOFT WARE \IBM \machinelocation下,我们创建了一个名为“location”的新字符串值,如图4。
As you can see from the output from the two calls to the id method, a new string object was created to hold the result of adding text to the original string.
从对id方法两次调用的输出中可以看出,创建的新字符串对象中保存的是向原字符串中添加文本的结果。
First, you can create a new string by adding other strings together, either using the + operator or by just sticking strings together using the appropriate quotes.
第一,通过将其他字符串添加在一起,可以创建新的字符串,具体方法可以使用+运算符,或者干脆使用适当的引号将字符串连在一起。
Builds a new string whose characters are the results of applying a specified function to each of the characters of the input string and concatenating the resulting strings.
生成一个新字符串,其字符是将指定的函数应用于输入字符串的每个字符并连接结果字符串的结果。
The StringBuilder class in the System.Text namespace joins strings together without allocating a new string instance each time; this efficiency greatly improves memory utilization.
Text命名空间中的StringBuilder类无须每次分配新的字符串实例即可将字符串连接在一起;这一效率大大改进了内存的利用。
The StringBuilder class in the System.Text namespace joins strings together without allocating a new string instance each time; this efficiency greatly improves memory utilization.
Text命名空间中的StringBuilder类无须每次分配新的字符串实例即可将字符串连接在一起;这一效率大大改进了内存的利用。
应用推荐