The following table provides examples for using the CATL operator. The CATL operator concatenates the operand2 digit string to the left end of operand1.
Command |
Result |
set A = B CATL 0123 B = 56789 |
56789 CATL 0123 = 012356789 |
set A = A CATL A A = # |
# CATL # = none |
set A = B CATL 0123 Variable definition:
|
56789 CATL 0123 = 012356789 = 2356 Four digits were selected starting at position 3 in the resulting digit string. |
set digits = A CATL 0123 digits = length=16, start=1 A = 123456789012345 |
123456789012345 CATL 0123 = 0123123456789012345 = 0123123456789012 The first 16 digits are selected and stored in the digits buffer. |
set A = A CATL A A = none (null string or empty) |
none CATL none = none |