fun main(){ val str = "張三"//Ref.xxx || Ref.xxx() println( str.length)//字符串內(nèi)容總數(shù) println(str[1])//index<length val num =10 }