--- a/src/String.cc Sun Feb 02 17:06:39 2014 +0200 +++ b/src/String.cc Sun Feb 02 18:07:06 2014 +0200 @@ -59,8 +59,9 @@ copy.RemoveAt (i); /* - while(( pos = copy.first( c )) != -1 ) - copy.erase( pos ); + int pos = 0; + while ((pos = copy.First (c)) != -1) + copy.RemoveAt (pos--); */ return copy; @@ -72,7 +73,7 @@ { String newstr = mString; - for (char & c : newstr) + for (char& c : newstr) if (c >= 'a' && c <= 'z') c -= 'a' - 'A';