If the strWord variable contains the string spring, which of the following statements assigns the letter r

Question:

If the strWord variable contains the string “spring”, which of the following statements assigns the letter r to the strLetter variable?
a. strLetter = strWord.Substring(2)
b. strLetter = strWord(2)
c. strLetter = strWord(2, 1)
d. All of the above.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: