#include <iostream>
#include <string>
using namespace std;

int main() {
	string ul = "The quick brown fox jumped over the lazy dog________ dog dog";
	cout << "before: " << ul << endl;
	string::size_type idx = ul.find("_");
	if (idx != string::npos) ul.erase(idx);
	cout << "after: " << ul << endl;
	return 0;
}