truncateToUserPerceivedLength

Truncates the string to the specified number of user-perceived characters.

Return

The truncated string.

Parameters

maxLength

The maximum number of user-perceived characters.