Returns the biggest prefix of this string that can be represented with at most maxLength UTF-8 bytes.
If the truncation occurs in the middle of a multibyte-character, the whole character is removed.