If the strWord variable contains the string “Irene Turner”, what value will the strWord.Contains("r") method return? a. True b. False c. 1 d. 2 The strItem variable contains uppercase letters only....


If the strWord variable contains the string “Irene Turner”, what value will the strWord.Contains("r") method return?


a. True


b. False


c. 1


d. 2


The strItem variable contains uppercase letters only. Which of the following determines whether the variable contains either the word “SHIRT” or the word “SKIRT”?


a. If strItem = "SHIRT" AndAlso strItem = "SKIRT" Then


b. If strItem = "S[HK]IRT" Then


c. If strItem Like "S[HK]IRT" Then


d. If strItem Like "S[H-K]IRT" Then


Which of the following returns the Boolean value True when the strPetName variable contains the string “Micki”?


a. strPetName.Contains("k")


b. strPetName Like "M*"


c. strPetName.Substring(2, 1) = "c"


d. all of the above

Nov 16, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here