isLetter()) { count++ } } return count; } 复制代码. 如上就定义了String类的扩展函数,建议都写在一个 ... 落地Kotlin 代码规范,DeteKt 了解一下~.
確定! 回上一頁