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
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here