Multiple choice technology mainframe

SAY INSERT('RAMKUM','ORD', 10, 6)

  1. ORD RAMKUM

  2. RAMKUM ORD

  3. RAMORD KUM

  4. ORDRAM KUM

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In REXX, the INSERT function inserts a string after a specified position, padding the target if necessary. Since the insert position is 10 and the target 'ORD' has a length of 3, 'ORD' is padded with 7 spaces to reach length 10. The source string 'RAMKUM' is then appended, resulting in 'ORD RAMKUM'.