Set the maximum value of the character array