|
-
December 7th, 2009, 03:05 PM
#3
Re: Determine if a string is composed of numbers or characters
 Originally Posted by GCDEF
You want ==, not = for comparison, but I'm not sure what the point of comparing anything to I is.
I get the same error, just more of them when I use ==.
The idea was to compare the first string character to the numbers 0,1,2,3...9 and if it matched any of them, the string is composed of numbers.
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
|