📜  反向字符串 kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:34.145000             🧑  作者: Mango

代码示例1
val foo = "Hello"
val reversedFoo = foo.reversed() // olleH

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