Nathan Myers wrote: >Almost. If it fails, it must leave the string unchanged. > Sorry... once more I pressed "enter" to early... You mean: I can call erase at the beginning and then, if it fails during the parsing, I must remember to call erase once more before bailing out??? Thanks, Paolo.