I know that an istream::putback function lets us put the last character we got from an input stream back into the input stream.
is there a similar function for a string?
if not how do I put the last character I got from an input string back to the input string?
Thanks.