Which of the following If clauses compares the string contained in the txtId control with the abbreviation

Question:

Which of the following If clauses compares the string contained in the txtId control with the abbreviation for the state of Georgia?
a. If ToUpper(txtId.Text.Trim) = "GA" Then
b. If txtId.Text.Trim.ToUpper = "GA" Then
c. If txtId.Text.ToLower.Trim = "ga" Then
d. Both b and c.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: