What value will be assigned to intIndex when the following statements execute?

Dim strTarget As String = "asdsakfljfdgasldfjdl"
Dim intIndex = strTarget.IndexOf("as", 1)

a. 12
b. 13
c. 0
d. -1


a. 12

Computer Science & Information Technology

You might also like to view...

Loops are frequently used to ____ data; that is, to make sure values fall within an acceptable or reasonable range.

A. validate B. enter C. add D. manipulate

Computer Science & Information Technology

The code to declare and initialize an array (in one statement) called fruit that holds the strings "Apple", "Mango", and "Pear", in that order, is _____________________________________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A network technician needs to monitor the network to find a user that is browsing inappropriate websites. Which of the following would the technician use to view the website and find the user browsing it?

A. An SNMP GET B. A top listener tool C. An intrusion detection system D. A packet sniffer

Computer Science & Information Technology

Though you can individually add ListView items you’ll often bind a(n) _________ object to the ListView.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology