清单2是一个使用换行符的示例。
添加换行符是为了增加可读性。
注意,\字符表示用于格式化目的的换行符。
Note that the \ characters are to indicate a line break for formatting purposes.
注意:换行符方便您阅读代码,它不会影响XML。
Note: the line breaks make it easier for you to read your code and do not affect the XML.
要改进该视图的布局,可以在不同的元素之间添加换行符。
To improve the layout of the view, add line breaks between the various elements.
移除东亚字符之间的换行符。
Linefeed characters between East Asian characters are removed.
不可见字符。如控制符、回退删除符、换行符等。
A character with no visible representation, such as a control character, a backspace, newline, and so on.
错误消息提示文件名被换行符分隔,这就给我们提供了线索。
The clue here is in the error message which shows that the filenames are separated by newline characters.
在试用或修改该清单前,只需删除script元素中的换行符。
Just remove line breaks in the script element before trying or adapting the listing.
读取文件的一行,保留换行符,到文件末尾返回空串。
Retain newline. A non-negative size argument limits the maximum number of bytes to return (an incomplete line may be returned then). Return an empty string at EOF.
忽略XML内容中的方形符号 ——它们代表换行符。
Ignore that square characters in the XML content -- they represent newline characters.
每个数组元素都包含了文件中的一行,并在末尾加上了换行符。
Each array element contains a line from the file, with newline still attached.
但您不知道单词由什么分隔,是空格、换行符、制表符还是这些字符的组合。
But you don't know whether the words are separated by Spaces, line breaks, tabs, or some combination of these.
使用换行符分隔文件内容并使用逗号分隔行后,可以得到类似清单23的内容。
When we get the file contents, split on newlines, and split each line on commas, we get something that looks like Listing 23.
这将保留 Windows 式换行符,而Perl解释器不喜欢它们。
This leaves Windows-style line-ends in place and the Perl interpreter does not like them.
DEL是一种定界的文本格式,其中的列由一个定界符分隔,行由换行符分隔。
Del is a delimited text format where columns are separated by a delimiter and rows are separated by line breaks.
在开始读取任何输入前,向标准出错上显示提示信息,并且不带尾部换行符。
Display prompt on standard error, without a trailing newline, before attempting to read any input.
虽然结果看上去是52行,但实际上只是一个包含了很多换行符的一个长字符串。
Even though the result appears on 52 lines, it is one long string that contains newlines.
从内部机制看,在创建字符串时换行符会被忽略,在打印字符串时可以看出这一点。
Internally, the newline character is ignored when creating the string, as is shown when the string is printed.
再次强调,这里的换行符仅仅是便于阅读。你在写批处理的时候,应该移除换行符。
Once again, the line breaks in the preceding example are only for readability. You will want to remove them when writing an actual batch file.
要改进布局,可以在Gizmo列表和Submit按钮之间添加两个换行符。
To improve the layout, add two line breaks between the Gizmo list and the Submit button.
换行符大约延迟0.10秒,如果设定了ONLRET,则回车延迟替代了换行延迟。
Newline delay lasts about0.10 seconds. If ONLRET is set, the carriage-return delays are used instead of the newline delays.
不一定指那些在屏幕上可见的文本,还包括如换页换行符、段分隔符和图形字符等等。
Not always visible as text on the screen. For instance, includes page and line breaks, paragraph delimiters and picture characters.
仔细研究二者的差别,尤其要注意加引号的形式和包含空白(如空格字符和换行符)的参数。
Study the differences carefully, particularly for the quoted forms and the parameters that include white space such as blanks or newline characters.
如果在文本文件的每一行中存放一个名字,则可以轻松地用换行符分隔文件内容以构建源代码数组。
If we put one name per line in our text file, we can easily split the file contents on the newline character to build our source arrays.
如果在文本文件的每一行中存放一个名字,则可以轻松地用换行符分隔文件内容以构建源代码数组。
If we put one name per line in our text file, we can easily split the file contents on the newline character to build our source arrays.
应用推荐