Both carry out the basic concatenation operation, as the following example shows.
这两种都会执行基本串连作业,如下列范例所示。
The following illustration depicts a concatenation operation on two sequences of characters.
下图说明两个字元序列的串连作业。
Notice that we have simple string concatenation here (". "is the concatenation operation in Perl).
注意我们在此处进行了一次简单的字符串拼接操作(“. ”在Perl中是拼接操作)。
When ON is specified, the result of a concatenation operation is NULL when either operand is NULL.
当指定为ON时,如果串联操作的两个操作数中任意一个为NULL,则结果也为NULL。
The string version of concatenation requires strings you want to join to be copied to a new location, which is an o (n) operation.
String版本的连接操作要求将需要连接的两个字符串复制到新位置,这是一种O (n)操作。
The rope counterpart simply creates a new concatenation node, which is an o (1) operation.
rope版本的连接操作则只是创建一个新的连接节点,这是个o(1)操作。
Therefore, any operation on a string, including string concatenation, produces a new string object, rather than modifying an existing one.
所以,在字符串上的任何操作,包括字符串连接,都产生一个新的字符串对象,而不是更改一个存在的字符串。
You can perform one operation on text: concatenation, or the linking together of strings.
您可以针对文字执行一次运算:将文字串连或将字串连结在一起。
Concatenation refers to the operation of appending one sequence to another.
串联是指将一个序列追加到另一个序列的运算。
Concatenation refers to the operation of appending one sequence to another.
串联是指将一个序列追加到另一个序列的运算。
应用推荐