Question: 4. The strItem variable contains uppercase letters only. Which of the following determines whether the variable contains either the word SHIRT or the word SKIRT?
4. 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 Like "S[HK]IRT" Then
b. If strItem Like "S[H-K]IRT" Then
c. If strItem = "S[HK]IRT" Then
d. If strItem = "SHIRT" AndAlso strItem = "SKIRT" Then
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
