About string operations

Last Updated : Sep 08, 2012 |
set [variables, digits] = operand1 [CATR, CATL, SEL] operand2

CATL, CATR, and SEL perform the following operations:

  • The CATL function concatenates, or attaches, the operand2 (the right-side operand) digit string to the left or most significant end of operand1 (the left-side operand).

  • The CATR function concatenates, or attaches, the operand2 digit string to the right or least significant end of operand1.

  • The SEL operation uses the number of digits specified by operand2 to select digits from the digit string in operand1. The digit count starts from the right-most digit position in operand1. For example, set A = 1234 SEL 1 sets A to 4.