Archived

This topic is now archived and is closed to further replies.

test digits for "string" datatype

This topic is 6359 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

You should be able to access every single char from the string data type and test it with the isdigit macro. Hope this helps.

-------------------------------------
That's just my 200 bucks!

..-=gLaDiAtOr=-..

Share this post


Link to post
Share on other sites
If you want your string to be treated as a regular C string you have to use .cstr();

so try your isdigit on number.cstr()



Edited by - SoGreen on July 17, 2000 5:49:52 PM

Share this post


Link to post
Share on other sites