Question: 8. If the strWord variable contains the string chimes, which of the following statements assigns the fourth character in the variable to the strLetter variable?
8. If the strWord variable contains the string “chimes”, which of the following statements assigns the fourth character in the variable to the strLetter variable?
a. strLetter = strWord.Substring(3)
b. strLetter = strWord.Substring(3, 1)
c. strLetter = strWord(4).Substring
d. none of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
