Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Author: Bruno da Silva
- * www.ips-team.blogspot.com
- */
- /*
- - isValidString(string);
- Return true to string valid, else false
- Example:
- ¬£³¢3 = False
- ABC 123 = True
- */
- isValidString(string[])
- {
- for(new x = 0; string[x]; ++x) switch(string[x]) {
- case 0x20 : continue;
- case 0x41 .. 0x54 : continue;
- case 0x30 .. 0x39 : continue;
- case 0x61 .. 0x7A : continue;
- default : return false;
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement