查找元素提供了两个高阶函数 find{} 、 findLast{} 。 val a = "Hello Kotlin" println(a.find { it=='H' })//H ...
確定! 回上一頁