https://twitter.com/kotlin/status/1281249387528806402
There are some hidden gems in the Kotlin standard library that can help with string manipulation. Functions such as removePrefix(), removeSuffix(), and the shorthand for both, removeSurrounding(), can come in quite handy in the right situation: https://t.co/iIEv0GBMCm
Twitter