Top "String-concatenation" questions

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

How do you concatenate strings in a Puppet .pp file?

Here is my naive approach: # puppet/init.pp $x = 'hello ' + 'goodbye' This does not work. How does one concatenate …

string-concatenation puppet
How to construct a std::string from a std::vector<string>?

I'd like to build a std::string from a std::vector<std::string>. I could use std::stringsteam, …

c++ stl string-concatenation stringstream stdstring
Ampersand vs plus for concatenating strings in VB.NET

In VB.NET, is there any advantage to using & to concatenate strings instead of +? For example Dim x as …

vb.net string-concatenation
How to collapse a list of characters into a single string in R

There is a list which I would like to output into an excel file as a single string. I start …

string r string-concatenation
Can I use require("path").join to safely concatenate urls?

Is this safe to use require("path").join to concatenate URLs, for example: require("path").join("http://example.com", "ok"); //…

node.js url string-concatenation
Is python += string concatenation bad practice?

I am reading The Hitchhiker’s Guide to Python and there is a short code snippet foo = 'foo' bar = 'bar' …

python string string-concatenation
JavaScript String concatenation behavior with null or undefined values

As you may know, in JavaScript '' + null = "null" and '' + undefined = "undefined" (in most browsers I can test: Firefox, …

javascript null undefined string-concatenation
What is the difference between VBScript's + and & operator?

On every site that talks about VBScript, the '&' operator is listed as the string concatenation operator. However, …

string vbscript string-concatenation
Concatenate row-wise across specific columns of dataframe

I have a data frame with columns that, when concatenated (row-wise) as a string, would allow me to partition the …

r apply paste string-concatenation sapply
Batch string concatenation in Excel

I have a couple hundred of cells in Excel I would like to concatenate into a single string. Is there …

excel excel-formula concatenation string-concatenation