Translations of this page?:

clear

Syntax:

    #include <string>
    void clear();

The function clear() deletes all of the elements in the string. clear() runs in linear time.

Related Topics: erase

 
• • • IndexRecent changesRSScc