Question: 3. Which of the following If clauses compares the string contained in the txtId control with the state abbreviation Tx? (Be sure the clause will

3. Which of the following If clauses compares the string contained in the txtId control with the state abbreviation Tx? (Be sure the clause will handle Tx, TX, tx, and tX.)

a. If txtId.Text = ToUpper("TX") Then

b. If txtId.Text = ToLower("tx") Then

c. If ToUpper(txtId.Text) = "TX" Then

d. If txtId.Text.ToUpper = "TX" 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