SYS_VERSION
SYS_VERSION
The system's Version
validateInput( $s, $reg, $len) : \the
Validates a string by the given rex and cuts lenght **no boolean return**
$s | the string to check |
|
$reg | the regular expressions (/[^a-z]/ to allow only small latin letters) |
|
$len | the maximum length |
clean string (empty, if other input than string or only dirty characters)