What output will be returned if the following Visual Basic code is executed?
strCityState = "Nashville, TN"
intCharIndex = strCityState.IndexOf("Tn")
strCityState = "Nashville, TN"
intCharIndex = strCityState.IndexOf("Tn")
A. True
B. False
C. 11
D. -1
Answer: Option D

Join The Discussion