Erase Function In String In Cpp