std::string is not a null terminated string. If you want to empty it use the clear() method. If you want to remove an element of the string use the erase() method.
std::string is not a null terminated string. If you want to empty it use the clear() method. If you want to remove an element of the string use the erase() method.