Concatenation

From Mario Fan Games Galaxy Wiki
Revision as of 17:32, 19 March 2010 by Xgoff (talk | contribs) (Created page with ''''Concatenation''' is the joining of two or more strings into a larger string. Usually this operation is common enough to warrant an operator, which is often '+'; although t…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Concatenation is the joining of two or more strings into a larger string. Usually this operation is common enough to warrant an operator, which is often '+'; although the addition sign can be misleading as concatenation is order-dependent unlike numerical addition.

Concatenation is not particularly efficient in languages with immutable strings, and can cause performance and memory usage problems if many strings need to be joined into a larger one. For this reason, these languages will usually provide a string joining function that can take a list or array of strings and efficiently concatenate them.