Implemented max_length and min_length for string parameters