Using string.erase() incorrectly?

Printable View