613-518-1166 info@zimdatabases.com

ZIM Language Reference

$concat

< All Topics

$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.

 

See Also

$delete

$insert

$left

$position

$replace

$right

$squeeze

$substring

$translate

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents