Use the String.split() method to split a string by newline, e.g. str.split(/\r?\n/) . The split method will split the string on each occurrence of a newline ...
確定! 回上一頁