Validation codes

  • Thread starter Thread starter sh
  • Start date Start date
S

sh

Is there some kind of function that will return true/false about the
makeup of a given value?

For instance, I wish to test a string to verify that it is 6 numerics,
or that it is 3 numerics and 1 alpha, or that it is 2 numerics, a dash,
and 2 alphas.

Is there a way to do this?
 
sh said:
Is there some kind of function that will return true/false about the
makeup of a given value?

For instance, I wish to test a string to verify that it is 6 numerics, or
that it is 3 numerics and 1 alpha, or that it is 2 numerics, a dash, and 2
alphas.

Is there a way to do this?

You write your own Boolean Function and pass data to it and return
true/false based on the data being passed for validation.
 
Back
Top