Multiple choice technology mainframe

NEW_STRING = STRIP(' MUCH BLANK SPACE ',B) SAY NEW_STRING

  1. " MUCH BLANK SPACE "

  2. " MUCH BLANK SPACE"

  3. "MUCH BLANK SPACE "

  4. "MUCH BLANK SPACE"

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

The STRIP function in REXX removes leading and trailing blanks from a string. The second parameter 'B' means 'both' - strip from both beginning and end. So ' MUCH BLANK SPACE ' becomes 'MUCH BLANK SPACE' with all leading and trailing spaces removed.