maxLength

Truncates this String to at most len characters.

Return

the original string if its length is within len, otherwise the first len characters

Parameters

len

the maximum length