Top "String-concatenation" questions

String concatenation is the operation of joining two character strings end-to-end.

Using character instead of String for single-character values in StringBuffer append

I was going through the PMD rule AppendCharacterWithChar. It says Avoid concatenating characters as strings in StringBuffer.append. StringBuffer sb = …

java string optimization string-concatenation pmd
Preprocessor macro GCC: pasting x and x does not give a valid preprocessing token

#define PATH "yagh/headers/" #define FILNAME "includefile" #define CONCAT(a__, b__) CONCAT_DO(a__, b__) #define CONCAT_DO(a__, b__) …

c gcc c-preprocessor string-concatenation stringification
Concatenate multiple results from an index match

I'm trying to concat multiple results from an index match into one cell. Here is an example data set I'm …

excel excel-formula vlookup string-concatenation textjoin
Format specifier for integer variables in format() for EXECUTE?

CREATE OR REPLACE FUNCTION getParentLtree(parent_id bigint, tbl_name varchar) RETURNS ltree AS $BODY$ DECLARE parent_ltree ltree; BEGIN …

postgresql plpgsql dynamic-sql string-concatenation
Is it possible to concatenate heredoc string in PHP..?

With normal PHP string you can do this: $str = "Hello "; $str .= "world"; $str .= "bla bla bla"; $str .= "bla bla bla..."; …

php string string-concatenation heredoc
Shell sha1($salt.$password) error

I try to do something like this directly on my console as some testruns : It does not seem to work.. …

bash string-concatenation command-substitution
Warning in StringBuffer and StringBuilder

I have a StringBuffer initialized outside for loop and inside for loop I am concatenating some strings. I am getting …

java android stringbuilder string-concatenation stringbuffer
Is the time-complexity of iterative string append actually O(n^2), or O(n)?

I am working on a problem out of CTCI. The third problem of chapter 1 has you take a string such …

python string algorithm time-complexity string-concatenation
How to concatenate array of string elements into a string

How should an array of string be converted into string (With separator char)? I mean, is there some system function …

arrays string delphi string-concatenation delphi-2007
nvarchar concatenation / index / nvarchar(max) inexplicable behavior

I today ran into a really weird problem in SQL Server (both 2008R2 and 2012). I'm trying to build up a …

sql-server sql-server-2012 string-concatenation nvarchar