Clear string

Web Site  Methods

 
Str::Empty
 
Str& Empty ()

Clears the string (length becomes 0), but does not release the currently allocated buffer.

For convenience, returns a reference to self.

 

 
Str::Reset
 
Str& Reset ()

Clears the string and releases the allocated buffer.

For convenience, returns a reference to self.

 

See also: Basic operations, IsEmpty