样式表创建三个字符串序列。
其结果是,任何一个字符串序列也就是一个对象序列了。
As a result, any sequence of strings is also e. g. a sequence of objects.
清单11显示了一个转义字符串序列,它使用了一个引号作为省略号。
Listing 11 shows an example of the escape sequences for a string that USES a single quote as an apostrophe.
这样就建立了一个字符串序列,各个字符串分别对应文件中的一行。
In this way, you can set up a sequence of strings, each being one line from a file.
在本例中,使用冒号将tuple包含的由单个字符构成的字符串序列连接在一起。
In this case, I join together a sequence of single-character strings contained in a tuple using the colon character.
最后的一个例子显示如何使用join方法,该方法的作用与split方法相反,可以使多个短字符串序列形成一个长字符串。
The last example shows how to use the join method, which is the opposite of the split method, to make a big string from a sequence of smaller strings.
它对用户的错误不是很敏感,因此有些功能可能被错误地标记为杀毒功能,或者杀毒软件可能会丢失一个字符串或者一个字符串序列。
It also is not sensitive to user mistakes, where a function may be wrongfully marked as a sanitizer, or a sanitizer may miss a character or sequence of characters.
由于ElementTree的Element实例有一个单一的.text属性-包含一个字符串-它并不真正为断开的字符串序列保留空格。
Since an ElementTree Element instance has a single.text attribute — which contains a string — that does not really leave space for a broken sequence of strings.
split方法很有用,因为它可以将一个字符串分成几个较小的字符串序列,方法是将令牌字符(或给定字符序列中的任何字符)用作断开位置的指示器。
The split method is useful because it splits a string into a sequence of smaller strings, using a token character (or any character in a given sequence of characters) as an indicator of where to chop.
这个例程在协议序列ID表中搜索给定的输入字符串。
The routine searches the protocol sequence ID table for a given input string.
子序列中的字符与子字符串中的字符不同,它们不需要是连续的。
The characters in a subsequence, unlike those in a substring, do not need to be contiguous.
对模式稍作更改就可以添加转义序列以支持字符串中的逗号。
With some small changes to the pattern, escape sequences could be added to support commas within strings.
因此,在编译过程中要进行字符串中的字符范围检查和字符序列的越界检查。
Therefore, range checking for characters in the string as well as bounds checking of the string sequence is done at marshal time.
否则,为保存协议序列字符串分配所需的内存。
Or the needed memory is allocated to hold the strings of protocol sequences.
处理复杂类型的技巧是创建能够在一个简单字符串中表示复杂类型的序列。
The technique for dealing with this is to devise a form of serialization that represents the complex type in a simple string.
字符和字符串常数支持标准换码序列。
Character and string constants support the standard escape sequences.
在本文中,我介绍了python字符串,它是一种不变的字符序列。
In this article, I introduced the Python string, which is an immutable sequence of characters.
假设python中的每个事物都是一个对象,您可以使用底层的str类方法来获得附加功能或直接使用字符串的序列功能。
Given that everything in Python is an object, you can use the underlying STR class methods to gain additional power or use the string's sequence functionality directly.
在Vimscript中,列表是标量值的序列:字符串、数字、引用或它们之间的混合。
In Vimscript, a list is a sequence of scalar values: strings, Numbers, references, or any mixture thereof.
在本文的开头部分,我着重强调了Python中的字符串是不变的字符序列。
At the beginning of this article, I said (in a rather winded manner) that a string in Python is an immutable sequence of characters.
将字符串内的空格序列替换为单个空格。
Replace sequences of white-space within the string with a single space.
您还可以通过将字符串拆分成“单词”序列来生成列表。
You can also generate a list by splitting a string into a sequence of "words".
一旦将字符串分解成序列,就可以用新的序列操作函数如insert - before来修改它。
Once you separate the string into a sequence, you can also use the new sequence-manipulation functions, such as insert-before , to alter it.
从技术角度而言,正则表达式是表示某种模式的字符串(也就是说,由字母、数字和符号组成的字符序列),用于定义零或更长的字符串。
Technically speaking, a regular expression is a string (that is, a sequence of characters composed of letters, Numbers, and symbols) that represents a pattern defining zero or more strings.
组标识符设置为JMSXGroupId字符串属性,序列号设置为JMSXGroupSeq整数属性。
The group identifier is set to the JMSXGroupId string property and the sequence number to the JMSXGroupSeq integer property.
字符串——不可改变的序列。
sequence (final)得到字符串和最终字符串之间的字符序列(字符串和最终字符串都必须是1个字符组成的字符串)“0 ” .sequence(“9 ”)返回“ 0123456789 ”。
String.sequence (final) Gets the sequence of character between string and final (both must be 1-character strings) "0".sequence (" 9 ") returns "0123456789".
字符串分析模型字符串就是一些语法,能够对字符串和序列有很详尽的理解,字符串可能在执行过程的任何点发挥作用。
The string analysis model strings are grammars, enabling a very detailed understanding of the characters and sequences that a string might hold at any point in the execution flow.
然后,您将按您选定的任何方式来解析该字符串并将其反序列化为所选定的对象形式。
This string can then be parsed in whatever manner you choose and deserialized into your chosen object form.
另外,如果输入值来自不同的组件,那么将它们组合成单一的序列化字符串是很困难的。
Additionally, if the input values come from different components, assembling them together into a single serialized string is difficult.
应用推荐