In fact, a string object is an instance of the STR class.
事实上,字符串对象是str类的一个实例。
Either way, the input is changed into a new string object.
两种方法都可以将输入的内容更改为新的字符串对象。
Conversely, use the encode method of a string object if you want a bytes literal from that string.
相反,如果想要从该字符串得到bytesliteral表示,可以使用字符串对象的encode方法。
But you can also explicitly create a string object by using the STR class constructor, as shown in Listing 6.
但是您也可以使用str类构造函数显式地创建字符串对象,如清单6所示。
Strings are immutable, which means that no matter what operation you do on a string, you will always produce a new string object, rather than mutating the existing string.
字符串是不可变的,也就是说不管你对字符串做何种操作,你总是创建了一个新的字符串对象,而不是改变了原有的字符串。
The most common types to convert are to and from a string object.
最常见的转换类型是与字符串对象的相互转换。
Normally, the data is read from the parser buffer into the string object, which is then pushed to the client buffer.
数据通常从分析器缓冲区读入字符串对象,然后,字符串对象被推送到客户端缓冲区。
This property's value is then persisted to a string object after the save state stage of the server control's life cycle.
然后该属性的值在服务器控件生命周期的保存状态阶段后保存到一个字符串对象。
Therefore, any operation on a string, including string concatenation, produces a new string object, rather than modifying an existing one.
所以,在字符串上的任何操作,包括字符串连接,都产生一个新的字符串对象,而不是更改一个存在的字符串。
The results of that query are returned as a String object.
该查询的结果将作为一个String对象返回。
Removes leading and trailing white space from a String object instance.
对象实例移除前导空白字符和尾随空白字符。
Format the calculation result back to a String object by using NumberConverter again.
通过再次使用NumberConverter,来将计算结果格式化回至String对象。
It implicitly casts the String object type to an object type (for the parameter list).
隐式地把String对象类型转换成object类型(用于参数列表)。
For now, please note that it returns a String object, which is simply the HTML fragment that represents the transformed XML.
现在,要注意到它返回一个String对象,即表示转换后的XML的HTML片段。
For instance, I observed certain SOAP bindings create multiple copies of the SOAP request — with each request instantiated as a String object — for no apparent reason.
比如,我发现某些SOAP绑定创建SOAP请求的多个副本,每个请求都实例化为string对象——这样做并没有明显的理由。
The auto-saved data of every form instance is kept in a Map<String, Object> instance.
每个表单实例的自动保存数据都保存在Map<String,Object> 实例中。
The auto-saved data of every form instance is kept in a Map<String, Object> instance.
每个表单实例的自动保存数据都保存在Map<String,Object> 实例中。
应用推荐