How do I split one string into two strings in Kotlin with “.”?

前端 未结 0 1937
执念已碎
执念已碎 2020-11-21 14:32

Let\'s say I have this string:

val mainString: String = "AAA.BBB"

And now I define two children strings:

val firstSt         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题