Strings and character arrays occupy a large amount of space in a typical business application, so they are another area worthy of analysis.
字符串和字符数组在典型的业务应用程序中占用了大量的空间,所以它们是另一个值得分析的方面。
Regular expressions are used to define patterns in strings based on characters, frequency, and character order.
正则表达式用来基于字符、频率和字符顺序定义字符串中的模式。
The lexicon was simple a organized list of character strings. There were no additional information associated with each string.
字典是一个简单的汉字字符串的有组织的列表,每个字符串没有附加额外的信息。
In the case of a graphic strings, two bytes constitute a character and you use the number of double bytes to represent the length of the string.
对于图形字符串,两个字节组成一个字符,使用双字节数来表示字符串的长度。
The third article in this series, " Exploring the Python type hierarchy, Introducing Strings," introduces the Python string, which is also an immutable sequence, but only for character data.
本系列的第三篇文章探索Python类型的层次结构 —— 使用字符串介绍了 Pythonstring,这也是一个不可变的序列,但仅针对字符数据。
To debug this program, I'm using the XMLString: : transcode function to convert the wide character strings for display on a console, as shown in Figure 1.
为了调试这个程序,我使用了XMLString:transcode函数来转换将在控制台上显示的宽字符字符串,如图1所示。
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.
这里的split方法处理包含指定分隔字符(在这里是逗号)的输入字符串(字符串类型),返回字符串的列表。
The split method then returns an array holding the strings that resulted from separating the given string into substrings, as delimited by the space character.
然后,split方法返回一个数组,其中保存了根据空格字符将给定字符串分割成子字符串的结果。
The waste in char arrays query shows the amount of wasted space in character arrays that are only referenced by strings.
WasteIn CharArrays查询能够显示字符串所引用的字符数组中浪费的空间。
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.
split方法很有用,因为它可以将一个字符串分成几个较小的字符串序列,方法是将令牌字符(或给定字符序列中的任何字符)用作断开位置的指示器。
The second split method demonstrates using a different token character -- in this case, a colon -- to split a string into a sequence of strings.
第二个split方法演示如何使用不同的令牌字符(本例中使用的是冒号)将一个字符串分成一系列字符串。
All of the previous examples have dealt with textual or character data: You wrote and read character strings.
前面所有的示例都处理文本数据或字符数据:写入和读取字符string。
In this case, I join together a sequence of single-character strings contained in a tuple using the colon character.
在本例中,使用冒号将tuple包含的由单个字符构成的字符串序列连接在一起。
Instead of making calls to equals which compares strings character by character, you can compare names reported by the parser against string constants by reference.
这里不需要调用一个字符一个字符地进行比较的equals函数,相反,您可以通过引用将解析器报告的名称与字符串常量进行比较。
String.sequence (final) Gets the sequence of character between string and final (both must be 1-character strings) "0".sequence (" 9 ") returns "0123456789".
sequence (final)得到字符串和最终字符串之间的字符序列(字符串和最终字符串都必须是1个字符组成的字符串)“0 ” .sequence(“9 ”)返回“ 0123456789 ”。
Parameters belonging to the eight basic types require only two character strings for their specification: one for name, and one for value representation.
属于这八种基本类型的参数对于其规范只需要两个字符串:一个用于名称,另一个用于值的表示。
This definition allows you to use the concept of distance in different applications; here you're interested in the distance between two character strings, or words.
这个定义让您可以在不同的应用程序中使用距离的概念;在这里,您感兴趣的是两个字符串或两个单词之间的距离。
Processing translated character strings by these functions can cause unexpected results, such as bad translation words showing on the UI or functions failing.
使用这些函数处理已翻译字符串会导致意外结果,比如在UI中显示怪异的翻译,或造成函数失败。
As an example of compensating for SQL limits, consider that the federated server might allow the use of larger character strings than other remote data sources allow.
举个补偿SQL限制的例子,考虑联邦服务器可能允许使用大于其他远程数据源所允许的长度的字符串。
As you might expect, validating XML documents that are provided as character strings requires little extra programming effort.
正如您所预期的,验证作为字符串提供的XML文档只需要很少的额外编程工作。
The coordinate values are numeric (decimal, float, etc.), not character strings.
坐标值是数字(小数、浮点数等),不是字符串。
So the arguments (the data) — whether they are floating-point Numbers, integers, character strings, or complex objects — are encoded into a format that can be transferred to the RPC receiver.
所以自变量(数据)-无论是浮点数、整数、字符串还是复杂对象-都要编码成可以传输到RPC接收方的格式。
For example, character strings have a default size of 32.
例如,字符串的默认大小是32。
That module allows programmers to treat a string as an array of letters, either as numeric codes or as one-character strings. An example from the documentation.
该模块允许程序员将字符串当作字符数组对待,或者作为数字代码或者作为单字符字符串。
In "r-strings," the backslash that might otherwise compose an escaped character is treated as a regular backslash.
在“ r - strings ”中,可能另外组成换码符的反斜杠被当作是常规反斜杠。
Rather than arithmetically or logically manipulating characters, a computer may concatenate strings of characters, replace some characters with others, or otherwise manipulate character strings.
计算机能将若干字符连成串,用一些字符代替其他字符或另行处理字符串,而不是用算术方法或逻辑方法处理字符。
For character strings, padding is with blanks; for bit strings, it is with zeros.
对于字符串,填充的是空格字符;对于位串,填充的是零。
Its numerical abilities are strong (particularly its ability to handle complex Numbers) although it is weak in handling character strings. It is of moderate difficulty to learn and use.
它的数值处理能力很强(尤其是处理复数的能力),不过处理字符串的能力较弱,学习和使用这种语言的难度适中。
Character strings are identified based on rotating projection without invariant moment.
针对字符串的特点,提出了基于旋转投影不变矩识别字符的方法。
Character strings are identified based on rotating projection without invariant moment.
针对字符串的特点,提出了基于旋转投影不变矩识别字符的方法。
应用推荐