Im looking for an eloquent way (like something in the stl?) to do the following pseudocode:
str1 = "hi im sue. hi im joe!";
str2 = remove(".", str1);
str2 = remove("!", str2);
I figure somebody knows a better way of doing this than looping through and cating str1's desired characters onto str2. There has to be a nice function (probablly in the stl) that does exactly what im looking for.