CONCATWITHSPACE
Syntax
![]()
Command
Mandatory parameter Optional parameter Mandatory keyword Optional keyword |
<Destination> := CONCATWITHSPACE (<Item1>, <Item2>[, <Length>])
Description
Concatenates an item with another item with a space ' ' character between them. If a length variable is specified, the length of the result will be assigned to that variable.
Diagram
Returned value type
Realstring
Parameters
Parameter | Description | |
<Destination> | Field into which the result value is copied. | |
<Item1> | The first item to be concatenated. | |
<Item2> | The seconds item to be concatenated. | |
<Length> | Numeric variable where the length of the result will be assigned. |
Remarks
The length of the result will include the space character.
Examples
A
ResultString := ConcatWithSpace('Hello', 'world')
B
ResultString := ConcatWithSpace( str, 'world', SI-Length)
C
ResultString := ConcatWithSpace( str, str2, LengthVar)
ResultString := ConcatWithSpace('Hello', 'world')
B
ResultString := ConcatWithSpace( str, 'world', SI-Length)
C
ResultString := ConcatWithSpace( str, str2, LengthVar)