Thank you. I was thinking of a way to do it with math but I would always come up with a number that would force me to have to truncate a part of the number out. If I could use a regular expressions engine I could get it done in one line, but that just tells me I need to know C++ better.
Thanks for the help.