bool IsAllDigits(string inTest)
Description
Returns true if the string contains only digits and false otherwise.
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inTest | string | The string that is being checked |
Return Type
bool
Examples
For the string "abcd1234" the following code will return false and for the string "1234" it will return true
Comments
Please sign in to leave a comment.