Check minimum length of a string.
App::Utility()->minLength(Value,Options)
Parameter |
Description |
---|---|
Value |
Value to check |
Options |
Set maximum length |
See bellow example:
$return = App::Helper('Validation')->minLength('123456',array('maxlength'=>5));