4 天前 ... JavaScript 中的取得部份字串的函式有substr 和substring 兩者之間有 ... String. substr(N1,N2) :從指定的位置(N1)向後截取指定長度(N2)的字串。
forum.heyxu.com