ASCII_UPPER_A
ASCII_UPPER_A = 65
isDigit( $c)
$c |
splitString( $stringToSplit, $delimiter)
$stringToSplit | ||
$delimiter |
convertToLowercase( $char) : mixed
Convert a character in ASCII to lower case.
$char |
isNumeric( $str, $separator, $minSeparatorCount, $maxSeparatorCount) : boolean
Validate a positive numeric string with an optional separator. This method avoids converting the string to another data type as it is more performant not to and also allows validation of ratios and version numbers.
Integers: isNumeric("1234", '\0', 0, 0); Floats: isNumeric("12.34", '.', 1, 1); Versions: isNumeric("110.56.67", '.', 0, 2); Ratios: isNumeric("375/812", '/', 1, 1);
$str | ||
$separator | ||
$minSeparatorCount | ||
$maxSeparatorCount |
strEqualsIgnoreCase(string $var1, string $var2) : boolean
Case-insensitive string comparrison
string | $var1 | |
string | $var2 |