Combines the text of two or more strings and returns a new string.
Method of String
Syntax
concat( string2, string3[, ..., stringN] )
Parameters
Parameter | Description |
---|---|
string2...string_N | Strings to concatenate to this string. |
Description
concat combines the text from two strings and returns a new string. Changes to the text in one string do not affect the other string.
Example
The following example combines two strings into a new string.