The strName variable contains the string Jeffers. Which of the following statements changes the contents of the

Question:

The strName variable contains the string “Jeffers”. Which of the following statements changes the contents of the variable to the string “Jeff”?
a. strName = strName.Remove(4)
b. strName = strName.Remove(5)
c. strName = strName.Remove(5, 3)
d. strName = strName.Remove(3, 5)

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

Step by Step Answer:

Question Posted: