I am writing some code which will require me to validate a character string.
Two things need to be done.
1) Verify the number of charatcers in a string
2) Verify that a certain position is a letter rather than a number
Verifiy that there are ten characters in the string and that the 6th one is a letter rather than a number.
I can do this with the Substr(str,x,y) etc function just wondered if anyone knew of a more elegant way .