Kate Petrova demonstrates three useful and idiomatic Kotlin functions for manipulating and checking strings.
Kotlin Tips is the series of short videos where members of the Kotlin team show how to use Kotlin in more efficient and idiomatic way to have more fun when writing code.
In this episode Kate Petrova shows 3 tips that will help you work with Strings in Kotlin.
Kotlin Tips: Strings
Tip 1: removePrefix(), RemoveSuffix(), removeSurroundings()
Tip 2: ifBlank, ifEmpty
Tip 3: equals(ignoreCase = ...
#KotlinTips #Strings #Kotlin
Why it's here
1 person recommends this
What people say. Recommended as a quick, practical guide to writing more idiomatic string manipulation code in Kotlin.
A
u/Anisim_1Kotlin teamin r/Kotlin • Recommends
Kotlin Tips is the series of short videos where members of the Kotlin team show how to use Kotlin in more efficient and idiomatic way to have more fun when writing code. In this episode Kate Petrova shows 3 tips that will help you work with Strings in Kotlin.