The ____ method returns an integer that represents the location of the subString within the string.

A. Insert
B. IndexOf
C. Contains
D. Substring


Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following are correct declarations of iterators for STL containers? You may assume that the proper header has been included and that a using directive makes the names from namespace std available.

a) ``` vector::iterator vecIterator; ``` b) ``` list::iterator listIterator; ``` c) ``` deque::iterator dequeIterator; ``` d) ``` list::iterator listIterator; ```

Computer Science & Information Technology

Processor speeds have doubled roughly every 18 months. Has overall computer performance doubled at the same rate? Why or why not?

What will be an ideal response?

Computer Science & Information Technology

If the same question is asked over and over, it is best to create a query, which is saved as a permanent part of the database

Indicate whether the statement is true or false

Computer Science & Information Technology

Why would you choose to make a clip offline?

What will be an ideal response?

Computer Science & Information Technology