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

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

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


d. -1

Computer Science & Information Technology

You might also like to view...

The practice of writing a method to perform a single task and then calling that method whenever you need to perform that task is called:

a. Code reuse b. Divide and conquer c. Inheritance d. Parameter e. None of these

Computer Science & Information Technology

To know whether the I/O operation succeeded, you use the function ________.

A. stream.clear() B. stream.bad() C. stream.fail() D. stream.good() E. stream.eof()

Computer Science & Information Technology

A presentation consists of a series of ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

The process of identifying and reducing the number of errors that can occur within your code is called ________

A) error handling B) debugging C) event-driven programming D) compiling

Computer Science & Information Technology