truncateTail

fun truncateTail(text: String, maxChars: Int): String(source)

Keep the end of text (errors land there), marking what was cut, within maxChars (Harness truncate_tail).