User Tools

Site Tools


the_concatenation_operator.htm
Navigation:  Language Reference > 10 - Expressions > Operators >====== The Concatenation Operator ====== Previous pageReturn to chapter overviewNext page

The ampersand ( & ) concatenation operator is used to append one string or string variable to another. The length of the resulting string is the sum of the lengths of the two values being concatenated. Numeric data types may be concatenated with strings or other numeric variables or constants. In many cases, the CLIP procedure should be used to remove any trailing spaces from a string being concatenated to another string.

Example:

CLIP(FirstName) & ' ' & Initial & '. ' & LastName  !Concatenate full name

'SoftVelocity Corporation' & ', Inc.'              !Concatenate two constants

See Also:

CLIP

Numeric Expressions

Data Conversion Rules

FORMAT

the_concatenation_operator.htm.txt · Last modified: 2021/04/15 15:57 (external edit)