trimStringToWidth

@NotNull
open fun trimStringToWidth(@NotNull string: @NotNull String, width: Int, reverse: Boolean): @NotNull String