max_length


Description:

public static bool max_length (string value, int max_length)

Return true if value's length is less than or equal to max_length.

Parameters:

value String field value
max_length Max length of field

Returns:

boolean