minLength

Navigation:  Development > Function Reference > Helpers > Validation >

minLength

Previous pageReturn to chapter overviewNext page

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));