Write the Visual Basic statement that uses the Contains method to determine whether the strEmployeeCode variable contains the string "NC" (entered in uppercase). Assign the method's return value to a Boolean variable named blnIsNC.

What will be an ideal response?


blnIsNC = strEmployeeCode.ToUpper.Contains("NC")

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT in a TCP header?

A. Source port B. TTL C. Sequence number D. Window

Computer Science & Information Technology

The iPad view formats a telephone number as a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

A field's ________ determines what kind of data will be stored in a field

Fill in the blank(s) with correct word

Computer Science & Information Technology

Legal protection for inventions.

What will be an ideal response?

Computer Science & Information Technology