What method is a member of the String class and takes a character delimiter parameter and separates a string into substrings at each occurrence of the delimiter?

A. Separate()
B. Split()
C. Delimit()
D. Substring()

Answer: B

Computer Science & Information Technology

You might also like to view...

The ________ is a window that displays a list of styles and contains tools to manage the styles

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is the prototype for a member function have_birthday of a person class. The function increments a data member called age by 1.

a) int have_birthday (int ); b) void have_birthday ( ) const; c) void have_birthday (int ) const; d) void have_birthday ( );

Computer Science & Information Technology