For example, you can split on the first space you find and store the discreet values in a database table, or you can apply specific formatting or tags to each line.
例如,您可以在第一个空格处进行划分,将分离的值存储在数据库表中,或对每个行应用特定的格式或标记。
This program uses an iterator to read a line from stdin and another iterator to split the line into individual tokens.
此程序使用一个迭代器来从stdin 中读取一行,同时另一个迭代器将该行分割成单个的标记。
Add a line break before the second through fifth labels, and change the width of the Split Container to 800 pixels so that the label and field will display on the same line.
在五个标签之中的第二个之前添加一道分割线,并更改SplitContainer的宽度为800像素,这样标签和区域将会在同一条线上显示出来。
To tokenize (that is, split a line into word-length pieces) a string, use the split() function.
若要 tokenize(也就是说,将一行拆分为单词长度的片段)某个字符串,请使用split() 函数。
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.
如果在文本文件的每一行中存放一个名字,则可以轻松地用换行符分隔文件内容以构建源代码数组。
This basic but efficient production line churns out a constant stream of refined bamboo, either being made into furniture or being split into new sets of disposable chopsticks.
这是一家拥有有效生产线的基础工厂,竹子在这里经过一系列的流程,或者被制造家具,或者被做成一次性筷子。
The suggested way of managing a growing team is to split the team into multiple teams keeping in line with the Agile recommended team sizes.
将团队划分为多个团队,保证人员数目符合敏捷推荐的团队大小,这是管理不断增长的团队的推荐方式。
For educational purposes, we've split this task among three threads: one prints the first name, one prints a space, and one prints the surname and a new-line.
出于教学目的,我们把此任务分在三个线程中:一个线程打印人名,一个线程打印空格,一个线程打印姓和一个新行。
Then as you grow your eyes move smoothly down the line like a lawn mower, then you stop a split second on a word, then start back up again.
长大后,当你阅读时你会像割草机一样顺畅地移动眼睛,在某个单词上只有刹那的停留,然后突然再次缩回去。
When an expression looks cleaner on one line, rather than split into multiple lines by assigning values to different variables.
与把值分配给不同变量而将表达式分成多行相比较,将一个表达式放在一行上看着更整齐时。
Again, the very long line is split here for readability.
同样,为了便于阅读,那个很长的行在这里被分割为几行。
When we get the file contents, split on newlines, and split each line on commas, we get something that looks like Listing 23.
使用换行符分隔文件内容并使用逗号分隔行后,可以得到类似清单23的内容。
Note: in the preceding code example, the code normally appears as a single continuous line. In this instance, the lines of code are split into multiple lines for ease of formatting and printing.
注意:在上面的例子中,代码通常作为单独的连续行出现,但为了便于设置格式和打印,将它分成了多行。
The Union line was going to be split in half.
联邦军正打算把阵线一分为二。
The firm’s plan was to split off TIM, the mobile phone part of the company, making it an attractive target for foreign buyers, while the fixed-line network would form the basis of a new media company.
公司计划分出作为公司手机业务的TIM,使他对外国购买者更有吸引力,同时使固定电话网络作为新的媒体公司的基础。
The PHP print instruction on this object, incidentally, produces the same information as var_dump in a slightly more compact form, all on one line (which we have split into five for readability).
顺便说一下,在此对象上使用PHPprint指令将获得与var_dump相同的信息,且格式更为简洁,仅有一行(为可读性起见,本文将其拆分为五行书写)。
Split the surface with the line.
斯普利特表面的线。
For the purposes of the project I mentioned above, I split my hundred-line script into two functions.
考虑到上面提到的项目的意图,我将把包含100行代码的脚本分为两个功能。
The VMOPT.0 definition is on one long line, but here I've split it out for clarity.
定义实际上是一长条,但这里我为了清楚显示,把它分成了几段。
When adding keys to the ssh_known_hosts file, ensure that the key is not split into multiple lines and that each host's entry is on a separate line.
当添加密钥到ssh_known_hosts文件时,应确保密钥没有被分成多个行,并确保主机的条目在一个单独的行上。
This means that you can not only iterate through the file line-by-line, but also split it into tokens at the same time. Listing 20 shows an example.
这意味着您不仅可以逐行遍历文件,同时还可以将它分为不同的标记。
The scattered field of the rigid line can be split into a bounded part and a singular part.
刚性线的散射场可分解为有界部分和奇异部分。
AutoSplit will place any functions defined here into the special AutoLoader files. To split up the module, use the following command line.
autosplit会将在此处定义的所有函数放到特殊的AutoLoader文件中。
The value for the gbean name attribute in the listing is split across multiple lines for the purpose of display only and should be in a single line without Spaces when added to config.xml.
该清单中gbean名称属性的值分成了多行只是为了便于显示,在添加到config . xml时应在一行中。
Equal split with cyclophosphamide. The line will side pieces area equal parts, this kind of composition as a whole are strong, but subdued, monotonous and taste.
相等分割骨式。由线将面分割成几块面积相等的部分,这种构图整体感强,具有安定感,但较平淡,缺少变化、趣味。
In your first example line breaks don't split tokens.
在你的第一个例子换行不要把令牌。
'Split & Track Lines' : This button is used to serialize a line of several items in several lines of one or more items with a different serial number.
'分割':这个按钮是用于拆分装箱单中的一行或者多行。例如,如果你。
Many conference calls are split between people in a conference room and others on a muddy-sounding call-in line.
很多电话会议都是一部分人在会议室,另一部分人在听得不太清楚的呼入电话上。
Five months ago, China Telecom was split into two regional operators to encourage nationwide competition in fixed-line telephony and data communications.
五个月以前,中国电信分成两个地方性的运营商以加强全国范围内固定线路电话和数据通信方面的竞争。
Five months ago, China Telecom was split into two regional operators to encourage nationwide competition in fixed-line telephony and data communications.
五个月以前,中国电信分成两个地方性的运营商以加强全国范围内固定线路电话和数据通信方面的竞争。
应用推荐