What I need to check is that:
The string is exactly 4 characters long, not one more, not one less. It must only contain numbers and letters. Also, there is a high chance the string will arrive in lowercase and I need to convert it to uppercase before my script can use it.
I need to redirect the user to an error page if the string was invalid rather than continue running the script.
Can anyone help me with this one?
- Jed
In reply to String validation by Speedfreak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |