reduceToList

fun String.reduceToList(preferredLength: Int = 31): List<String>(source)

Attempts to sanely partition a string to list of strings, where each string's length is bounded by preferredLength

Excludes the MiniMessage formatting tags (Regex: <[^<>]+>) from the counting process