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

Question:

The strName variable contains the string “Carlson”. Which of the following statements changes the contents of the variable to the string “Carl”?

a. strName = strName.Remove(0, 4)

b. strName = strName.Remove(4, 3)

c. strName = strName.Remove(5, 3)

d. strName = strName.Remove(5)

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: