Top "Concatenation" questions

Refers to the joining of two or more elements into a single element.

How to concatenate strings and commas in SQL Server?

I'm relatively new to MSSQL, so sorry if the question might sounds trivial. I want to concatenate multiple fields with …

sql sql-server concatenation coalesce
Python String Concatenation - concatenating '\n'

I am new to Python and need help trying to understand two problems i am getting relating to concatenating strings. …

python repeater newline concatenation
php string number concatenation messed up

I got some php code here: <?php echo 'hello ' . 1 + 2 . '34'; ?> which outputs 234, but when I add …

php string concatenation operator-keyword operator-precedence
String.format() vs "+" operator

What should be used for a basic string concatenation operation ? String randomString = "hello " + userName + " how are you" ? or String randomString = …

java string concatenation string-concatenation
MS Excel - Concat with a delimiter

I've got a long spreadsheet with numbers. I need to get them in one string delimited by ; eg. 4364453;24332432;2342432 I know …

excel concatenation textjoin
concatenate stringstream in c++

How can I concatenate two stringstreams? #include <stdio.h> #include <stdlib.h> #include <string.h&…

c++ concatenation stringstream
Java: StringBuffer & Concatenation

I'm using StringBuffer in Java to concat strings together, like so: StringBuffer str = new StringBuffer(); str.append("string value"); I …

java concatenation stringbuffer
What does ## (double hash) do in a preprocessor directive?

#define DEFINE_STAT(Stat) \ struct FThreadSafeStaticStat<FStat_##Stat> StatPtr_##Stat; The above line is take from Unreal 4, and …

c++ c concatenation c-preprocessor
Built-in string formatting vs string concatenation as logging parameter

I'm using SonarLint that shows me an issue in the following line. LOGGER.debug("Comparing objects: " + object1 + " and " + object2); Side-note: …

java string logging concatenation sonarlint
Paste/Collapse in R

I'm confused by paste, and thought it was just simple concatenating. whales <- c("C","D","C","D","D") …

r concatenation paste