Multiple choice technology mainframe

say FIND ('MARY HAD A LITTLE LAMB)','A LITTLE LAMB')

  1. 1

  2. 2

  3. 3

  4. 4

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

The REXX FIND function returns the word number of the first word of the second string within the first string. In 'MARY HAD A LITTLE LAMB', the phrase 'A LITTLE LAMB' starts at the 3rd word ('A'). Therefore, the result is 3.