[Solved] how to remove Ì from data in C [closed]


It’s easy enough if you are using std::string to hold your value.

#include <string>
#include <algorithm>

std::string input = ...;
input.erase(std::remove(input.begin(), input.end(), 'Ì'), input.end());

It’s more complex if you insist on using C strings or arrays.

I see from the comments above that you are using C strings. I suggest you switch to using C++ strings.

3

solved how to remove Ì from data in C [closed]