can anyone help me to clear this ?

example: Hello

i want to clear 'e' and remain words is "Hllo"
please tell me if it possible . thank for the answers.

Sure :

std::string greeting = "hello";
string::size_type pos = greeting.find('e');
std::string fuzz = greeting.erase( pos , 1)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.