|
-
April 23rd, 2012, 09:13 PM
#4
Re: error: no match for ' ' problem
 Originally Posted by chucker
how would I go about formatting the isdigit and isalpha line to make it a string instead?
isdigit is a function that tests a single character to see if it is a digit. Similarly, the isalpha tests a single character to see if it is an alphabetic character.
So there is no way to "format" these functions to do something they are not written to do. You have to write your own routine to test if an entire string is whatever you feel it should be.
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|