Bill
Lii
LL1
123
Answer is Wrong!
Answer is Right!
The correct answer is A. Bill.
The Like operator is used to check if a string contains a certain pattern. In this case, the pattern is B?LL, which means that the string must start with the letter “B”, followed
The following strings would all match the pattern B?LL:
- Bill
- BLL
- B1LL
- B?L
- B?
The following strings would not match the pattern B?LL:
- Lii
- LL1
- 123
Therefore, the body of the If statement
strFirst contains the string “Bill”.