Question: 3. The strName variable contains the string Carlson. Which of the following statements changes the contents of the variable to the string Carl? a. strName
3. 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)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
