`"UMSR65US5BUFE7PS5SNWWKTWU=====".removeSuffix("="...
# getting-started
p
"UMSR65US5BUFE7PS5SNWWKTWU=====".removeSuffix("=")
evaluates to
UMSR65US5BUFE7PS5SNWWKTWU====
what am i missing?
a
maybe
trimEnd
is what you’re looking for: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/trim-end.html
p
yup, just realized it. thanks!
đź‘Ť 1