IsAllDigits

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

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.