The strState variable should contain two uppercase letters. Which of the following statements determines whether the variable contains a valid state?

A. If strState = "[A-Z][A-Z]" Then
B. If strState Like "[A-Z]" Then
C. If strState Like "[a-z][a-z]" Then
D. If strState Like "[A-Z][A-Z]" Then

Answer: D

Computer Science & Information Technology

You might also like to view...

A(n) ________ is a line that borders the chart plot area and serves as a frame of reference for measurement

A) axis B) base C) data marker D) legend

Computer Science & Information Technology

You can format any text with a WordArt style. Select the text, click the DRAWING TOOLS ____ tab on the Ribbon, then click a WordArt style option in the WordArt Styles group.

A. HOME B. FORMAT C. DESIGN D. EDIT

Computer Science & Information Technology