$max) { return $max; } return ceil(strlen($string) / $num); }