User Tools

Site Tools

Navigation:  Language Reference > 10 - Expressions > Types of Expressions >====== String Expressions ====== Previous pageReturn to chapter overviewNext page

String expressions may be used as parameters of procedures and attributes, or as the source portion of an assignment statement when the destination is a string variable. String expressions may contain a single string or numeric variable, or a complex combination of sub-expressions, procedures, and operations.


StringVar   STRING(30)

Name        STRING(10)

Weight      STRING(3)

Phone       LONG


!Concatenate a constant and variable

StringVar = 'Address:' & Cus:Address

!Concatenate constant values

!and FORMAT procedure's return value

StringVar = 'Phone:' & ' 305-' & FORMAT(Phone,@P###-####P)

!Concatenate a constant and variable

StringVar = Weight & 'lbs.'

See Also:


The Concatenation Operator

Data Conversion Rules


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