7.7.8.91. GEL_StrCatΒΆ

Concatenate two or more literal strings or string variables.

Syntax

GEL_StrCat( text1, text2, ... );

Parameters

textN: literal strings or string variables.

Description

Concatenate the strings

Synchronous

Synchronous from GEL: Yes

Completely synchronous: Yes

Example

string company = "Texas Instruments";
string product = "CCS"
string product_str = GEL_StrCat(company, " ", product, " ", "11.2");
int length = GEL_StrLen(product_str);  // length == 26
string state = GEL_SubStr(company, 0, 5); // state == "Texas"
GEL_TextOut(product_str);

Related Topics

GEL_StrLen

GEL_SubStr