Validation codes

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?
 
M

Mr. Arnold

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top