Odwrotny ciąg Kotlin

val foo = "Hello"
val reversedFoo = foo.reversed() // olleH

// You can also
val reversedFoo = "Hello".reversed()
Hilarious Hornet