The concat() function of string object combines the text of two strings and returns a new string. Use it for example to combind two string into one string.
Syntax