注意,\字符表示用于格式化目的的换行符。
Note that the \ characters are to indicate a line break for formatting purposes.
清单2是一个使用换行符的示例。
添加换行符是为了增加可读性。
注意:换行符方便您阅读代码,它不会影响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.
对于每一行,首先解压所有的空格和行末的换行符。
For each line, first extract all of the Spaces and the line feed at the end of the line.
在试用或修改该清单前,只需删除script元素中的换行符。
Just remove line breaks in the script element before trying or adapting the listing.
字符“。”匹配除空字符和换行符之外的任一单个字符。
The dot character ". " matches any single character except null character and newline character.
错误消息提示文件名被换行符分隔,这就给我们提供了线索。
The clue here is in the error message which shows that the filenames are separated by newline characters.
忽略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.
注意,xml变量受到了针对内部引号和换行符的转义字符的污染。
Notice that the xml variable is polluted with escape characters for the internal quotes and newlines.
默认地,若只调用print自身,结果会追加一个换行符(\n)。
By default, calling print by itself appends a newline character (\ n).
请注意如何将新行转化为换行符,以及如何将所有:-组合转换为笑脸图片。
Notice how new lines are converted into line breaks and that you exchange all: - combinations with smiley face images.
这将保留 Windows 式换行符,而Perl解释器不喜欢它们。
This leaves Windows-style line-ends in place and the Perl interpreter does not like them.
使用换行符分隔文件内容并使用逗号分隔行后,可以得到类似清单23的内容。
When we get the file contents, split on newlines, and split each line on commas, we get something that looks like Listing 23.
DEL是一种定界的文本格式,其中的列由一个定界符分隔,行由换行符分隔。
Del is a delimited text format where columns are separated by a delimiter and rows are separated by line breaks.
现在,pretty和print这两个词之间出现了一个换行符和大量的空格。
Now, there is a line feed and a whole bunch of Spaces in between pretty and print.
虽然结果看上去是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.
随后使用换行符前面的最后6个字符再加上制表符来替换换行符前面的所有行内容。
We then substitute all of the line up to the newline with the last six characters before the newline plus a TAB character.
要改进布局,可以在Gizmo列表和Submit按钮之间添加两个换行符。
To improve the layout, add two line breaks between the Gizmo list and the Submit button.
仔细研究二者的差别,尤其要注意加引号的形式和包含空白(如空格字符和换行符)的参数。
Study the differences carefully, particularly for the quoted forms and the parameters that include white space such as blanks or newline characters.
当代码缩小则是所有评论意见都将删除,以及不必要的空白字符(空间、换行符和选项卡)。
When code is minified all comments are removed, as well as unneeded white space characters (space, newline, and TAB).
如果在文本文件的每一行中存放一个名字,则可以轻松地用换行符分隔文件内容以构建源代码数组。
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.
这些产品支持拖拽,并且需要在你上传页面之前使用(这些文件在许多换行符被删除后难以阅读)。
These products are drag and drop, and should be used as the last step before you upload your page (the files are harder to read after many of the returns are removed).
这些产品支持拖拽,并且需要在你上传页面之前使用(这些文件在许多换行符被删除后难以阅读)。
These products are drag and drop, and should be used asthe last step before you upload your page (the files are harder to read aftermany of the returns are removed).
这些产品支持拖拽,并且需要在你上传页面之前使用(这些文件在许多换行符被删除后难以阅读)。
These products are drag and drop, and should be used asthe last step before you upload your page (the files are harder to read aftermany of the returns are removed).
应用推荐