indexOf(' '))) => "Hi,", 字串位置從0 到空白字元所在位置的子字串為"Hi,“. s.substring(1) => "i, ... 的空白字元開始的子字串, 其中左斜線必須重複以跳脫(escape).
確定! 回上一頁