Question: If the strMsg variable contains the string Her birthday is Friday!, which of the following assigns the number 16 to the intNum variable? a. intNum
If the strMsg variable contains the string “Her birthday is Friday!”, which of the following assigns the number 16 to the intNum variable?
a. intNum = strMsg.Substring(0, "F")
b. intNum = strMsg.Contains("F")
c. intNum = strMsg.IndexOf("F")
d. intNum = strMsg.IndexOf(0, "F")
Step by Step Solution
3.30 Rating (153 Votes )
There are 3 Steps involved in it
c in... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
1814_60b8c12284fe6_823539.pdf
180 KBs PDF File
1814_60b8c12284fe6_823539.docx
120 KBs Word File
