If it's fixed length, just loop through the elements and find the maxLength.