MASS_getLongestLength

Description: returnes the length of the longest entry in the array or max if bigger than max
Parameter: