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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming with Microsoft Visual Basic 2015 Questions!