E
Elmar Baumann
Does anyone have a snippet/solution to remove escape-sequences from
AnsiStrings?
thanks in advance . . .
Elmar Baumann
AnsiStrings?
thanks in advance . . .
Elmar Baumann
What are "AnsiStrings"? Instances of the class AnsiString?
Generally, you just do
<yourstringtypehere> str; /// your string
...
<yourstringtypehere>::iterator it = str.begin();
while (it != str.end()) {
if (*it == char_to_strip)
it = str.erase(it); // or str.erase(it++);
else
++it;
}
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.