擷取子字串substring(start, n), s = "Hi, Good Morning! ... indexOf(' '))) => "Hi,", 字串位置從0 到空白字元所在位置的子字串為"Hi,“ ... 將字元轉成數字
確定! 回上一頁