编著一个方法,用以预示一行字符。
原始xml文档中出现的标记列表,由新行字符分隔。
A list of tags that occur in the original XML document, separated by newline characters.
为了让方法根据新行字符拆分各行,必须显式地指定新行字符。
To have the method split the lines based on a newline character, you have to explicitly specify the newline character.
我们不必添加一个新行字符,如果这样做了,测试就会失败。
We have not added a newline character; if we did, the test would fail.
微处理器控制,4行字符lcd显示,友好直观的操作系统。
Microprocessor control with 4 lines LCD display. Friendly and intuitive operating system.
它构建了一行字符串,该字符串包含从root到当前行的所有元素。
It builds a string containing all elements from the root to the current row.
出于演示的目的,下面的清单只显示了对(多)行字符串的处理,而省略了错误处理。
The listing shows only the handling for (multi-)linestrings and also omits the error handling for illustration purposes.
尤其是在最后一个例子中,如果一些文件名已经包含新行字符串,那么将新行字符串转换成null字符串将导致错误。
In particular, the final example of translating new line characters to nulls would not work if some file names already contained new line characters.
如果打开这个文件,您可以为每个字符都找到一行说明。
If you open this file, you'll find a line for each character.
默认情况下,点匹配除新行以外的任何字符。
应养成以下习惯:只要对此函数使用行限制,就添加该额外字符。
Get in the habit of remembering to add that extra character whenever you use the line limit on this function.
注意:清单3使用反斜杠字符表示连续行;它不是该命令的一部分。
Note: Listing 3 uses the backslash character to indicate a line continuation; it is not part of the command.
XML 1.1还增加了行结束字符列表,新增加的NEL用于在IBM大型机系统中表示行结束(EOL)。
XML 1.1 also adds to the list of line-end characters, adding NEL, a character used for EOL in IBM mainframe systems.
处理文本文件通常包括读取信息单元(通常叫做字符或行),然后对刚读取的单元执行适当操作。
Processing a text file often consists of sequentially reading a unit of information (typically either a character or a line) and doing something in response to the unit you've just read.
当查询只选择[1,8]字符时,行1生成aaa3bbb3cc。
When the query selects only [1, 8] characters, Row 1 results in AAA3BBB3CC.
两个脚本都会只输出不包含matchme字符序列的行。
Both scripts will output only those lines that don't contain a matchme character sequence.
在Windows操作系统中,行连续字符生成临时db 2 (cont .)。
On Windows operating systems, the line continuation character generates a temporary db2 (cont.)
模式n:使点匹配任何字符,包括新行。
Mode n: Make the dot match any character, including new lines.
通常IFS变量应该有一个空格、一个制表符和一个新行的值 --这些字符都会被作为一个空格字符来处理。
Normally the IFS variable would have the value of a space, a tab, and a newline -- any of those characters would be treated like a space character.
在CLP命令模式或交互输入模式下,可以将反斜线字符(\)用作行连续字符。
You can use the backslash character (\) as the line continuation character in CLP command mode or interactive input mode.
您的文本编辑器可能具有搜索功能,可显示包含指定字符串的所有行。
Your text editor might have a search feature that displays all lines that contain a specified string.
这一行输出元素的字符串值而不是整个元素。
This line outputs the string-value of the element, not the entire element.
它需要这些细节来计算行的长度、连字符、对齐格式,等等。
It needs these details to calculate line lengths, hyphenation, justification, and so on.
注意:清单4使用反斜杠字符表示连续行;它不是该命令的一部分。
Note: Listing 4 USES backslash characters to indicate line continuations; the characters are not part of the command.
这个输出的第一行必须包含字符串1 . .。
像所有ucs平面那样,包含了256行,其中每行包含256个单元,字符仅仅按照BMP中的行和单元的八位元在单元中被编码。
This BMP, like all UCS planes, contains 256 rows each of 256 cells, and a character is coded at a cell by just the row and cell octets in the BMP.
请注意,在文件中,行之间用新行(或行结束)字符区分。
Notice that the lines in the file are distinguished by a newline (or end-of-line) character.
一行上的字符数不应该超过80个。
最后一行给出了特定字符串类型的属性。
最后一行给出了特定字符串类型的属性。
应用推荐