How do i change the for loop to a while loop and not use .lastindex in this function?

前端 未结 0 1566
暗喜
暗喜 2020-12-13 00:10

I´ve already tried changing but the function stops working corretcly.

fun checkName(name: String): Boolean {
    va         


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