Choose where you’d like to start

concat

Overview

The concat function takes a sourceText and an appendText as arguments and returns the concatenated value.

Return Type

  • TEXT

Syntax

<variable> = <text1>.concat(<text2>);

(OR)

<variable> = concat(<text1>, <text2>);

where,

ParameterData typeDescription
<variable>TEXTVariable 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 = "Deluge";
 result = text1.concat(text2);
 info  concat(text1, text2); // yields "ZohoDeluge"

 info  result; // yields "ZohoDeluge"
 info  text1.concat(" ").concat(text2); // yields "Zoho Deluge"

Get Started Now

Execute