service / com.scurab.android.uitor.extract2 / java.lang.StringBuilder

Extensions for java.lang.StringBuilder

stripLastChars

Strip last amount of chars if possible. Otherwise return original stringbuilder

fun StringBuilder.stripLastChars(amount: Int): StringBuilder