I was looking through the string references to try to find one of those. I found isgidit() but don't think that will work in this case. That's why I was wondering if there was something like isdigit() in the string reference that would let me be able to to that.
Well you were right about the  so there's something new you learn. Got it working going off of Fransje's code so thanks for that. Instead of bool I just had it cout if there was a digit. Thanks for the help.