Fixed incorrect length trimming in String.trimmedToLength(_).