Valid Character Scanner v1

Added By: shellcreatives

Rated:
(5 of 5) by 1.
Rate Snippet:
Description:  A very simple function, can be used in conjunction with my other basic form validation function, which can also be found under the Visual Basic Script codebank section. The function uses three variables, theString, numFrom, and numTo theString is a string of text, for example this description. numFrom is the starting character. numTo is the ending character. To use, setup a line of code like this: checkForValidChars("hello!",33,33) Basically, 33 is the character "!", or to put it simply, the exclamation point. You can check for a range of characters, 33 to 36 for example, or one character, 33 to 33 for example. Feel free to check out www20.brinkster.com/shellcreatives/ for some more cool programming stuff, and check out http://hotwired.lycos.com/webmonkey/reference/special_characters/index.html for a complete list of all 255 special characters. Email me at shellcreatives@hotmail.com if you have any comments. Thanks! Jon
Language:  Visual Basic Script

Save to web space
E-mail Link

Code Snippet: