To remove one or more characters located anywhere in a string variable, which string class function would be used?

A. remove
B. delete
C. truncate
D. erase


Answer: D

Computer Science & Information Technology

You might also like to view...

PGP is often used to secure email communication. Describe the steps that a pair of users using PGP must take before they can exchange email messages with privacy and authnticity guarantees. What scope is there to make the preliminary negotiations invisible to the users? (The PGP negotiation is an instance of the hybrid scheme.)

What will be an ideal response?

Computer Science & Information Technology

All modern programming languages contain many built-in, prewritten ____ to save time and effort.

A. routines B. variable C. methods D. programs

Computer Science & Information Technology

A specific category of data such as a customer's name, city, state, or phone number is called a(n) ____.

A. object B. record C. field D. table

Computer Science & Information Technology

The appropriate format is to display the header of a two-page letter on both the first and second pages.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology