Overview
The concat function takes a sourceText and an appendText as arguments and returns the concatenated value.
Return Type
Syntax
- <variable> = <text1>.concat(<text2>);
(OR)
- <variable> = concat(<text1>, <text2>);
where,
| Parameter | Data type | Description |
| <variable> | TEXT | Variable which holds the concatenated value |
| <text1> | TEXT | Piece of text to be concatenated |
| <text2> | TEXT | Piece of text to be concatenated |
Examples
- text1 = "Zoho";
- text2 = "QEngine";
- result = text1.concat( text2);
- info( concat(text1, text2) ); // yields "ZohoQEngine"
- info( result ); // yields "ZohoQEngine"
- info( text1.concat(" ").concat(text2) ); // yields "Zoho QEngine"