Revision: 17345
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 1, 2009 11:46 by NyX
Initial Code
function isLetter($a) { $inta=$a.charCodeAt('0'); if($inta>=97&&$inta<=122) return true; return false; } function isNumber($a) { $inta=$a.charCodeAt('0'); if($inta>=48&&$inta<=57) return true; return false; } function isDot($a) { if($a.charCodeAt('0')==46) return true; return false; } function isArond($a) { if($a.charCodeAt('0')==64) return true; return false; } function isUnderscore($a) { if($a.charCodeAt('0')==95) return true; return false; }
Initial URL
Initial Description
Checks if the first char of a string is a : letter, number, dot ( . ), arond ( @ ), underscore ( _ ).
Initial Title
Check first character of a string
Initial Tags
Initial Language
JavaScript