(I'm not using the issue template because I'm not reporting a bug) Since we already have .trim(), .uppercase() and .lowercase() modifying the original strings, a .truncate(length) method would be very useful.