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 =
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
3.28 Rating (163 Votes )
There are 3 Steps involved in it
b str... View full answer
Get step-by-step solutions from verified subject matter experts
