$concat

Builds a single character string out of separate character strings.

Syntax

$concat(string[«,string»])

Parameters

string

A character string or an expression that evaluates to a character string. Each string must be separated from the next by a comma (,).

Return Value

Character string.

Comments

The function builds a single character string out of separate strings.

Example

$concat($ttrim(FirstName)," ",LastName)

Can evaluate to "John Smith ". Combines three strings.

$concat($ttrim(LastName),", ",$ttrim(FirstName)," ",Initials)

Can evaluate to "Smith, John T.". Combines five strings.

let Today = $concat($trim($dayname($date)),", ",\
  $day($date),", ",$monthname($date))

Can evaluate to "Monday, 30, October". Combines five strings.

 

Related Topics