You can split into an array, slice the array, and recombine; or you can use a regular expression along the lines of /(([^\n]+\n){0,5})/ ...
確定! 回上一頁