If the strMsg variable contains the string The party is Saturday., which of the following assigns the

Question:

If the strMsg variable contains the string “The party is Saturday.”, which of the following assigns the number 13 to the intNum variable?

a. intNum = strMsg.Substring(0, "S")

b. intNum = strMsg.Contains("S")

c. intNum = strMsg.IndexOf("S")

d. intNum = strMsg.IndexOf(0, "S")

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

Step by Step Answer:

Related Book For  answer-question
Question Posted: