Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Concatenation and Append [closed]

Tags:

bash

cat

paste

What is the basic and essential difference between Concatenate and Append

like image 648
VAR121 Avatar asked Sep 24 '12 11:09

VAR121


People also ask

What is difference between concatenation and operator?

concat() method takes only one argument of string and concatenates it with other string. + operator takes any number of arguments and concatenates all the strings.

What is an example of concatenation?

The concatenation of two or more numbers is the number formed by concatenating their numerals. For example, the concatenation of 1, 234, and 5678 is 12345678.

What is called concatenation?

1 : a group of things linked together or occurring together in a way that produces a particular result or effect an unusual concatenation of circumstances George McGovern was the beneficiary, in 1972, of a unique concatenation of party reform and political accident.—

Does concatenation append two values to one another?

Concatenation doesn't impact cells but joins multiple values. For example, you can use this method to combine pieces of textual content from different cells. In Excel, such content is called text strings. You can also insert a number obtained from a formula in-between textual content.


2 Answers

"Concatenate" joins two specific items together, whereas "append" adds what you specify to whatever may already be there.

like image 150
Ignacio Vazquez-Abrams Avatar answered Nov 15 '22 02:11

Ignacio Vazquez-Abrams


When use Concat or append on two strings they both may give you same result when you output them but the main difference is on using concatenation new string object is created where as its not the same in case of StrinBuffer APPEND()

like image 36
user1529342 Avatar answered Nov 15 '22 03:11

user1529342