IUserAccessiableIsAllDigits Method |
Returns true if the string contains only digits and false otherwise.
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax bool IsAllDigits(
string inTest
)
Parameters
- inTest
- Type: SystemString
The string that is being checked
Return Value
Type:
Booleantrue or false
Examples
For the string "abcd1234" the following code will return false and for the string "1234" it will return true
See Also