JetBrains - New in Kotlin 1.3: The ifEmpty function can be used in a chained call to specify a fallback value for an empty collection, array, or string. The ifBlank function does
Strings in Java and Kotlin | Kotlin Documentation
String Templates and Multiline Strings in Kotlin - Knoldus Blogs
How to use compareTo() and other string actions in Kotlin - LogRocket Blog