字串
substring
fun main() {
val className = "Kuro's class"
val indexOfApostrophe = className.indexOf('\'')
val teacherName = className.substring(0 until indexOfApostrophe)
println(teacherName)
}特殊意義文字
描述
equals(==)
matches
replace
split
Unicode
Last updated