isdigit
check that characters of a string are digits between 0 and 9
Calling Sequenceres = isdigit(str)Argumentsstra character string.resa boolean matrix.Descriptionres = isdigit(str) returns an array the same size as
str containing logical %t
(TRUE) where the elements of str are digits and
logical %f (FALSE) where they are not.
ExamplesSee Also
isalphanum
isletter
isnum