only split string to maximum to parts let newText1 = text.split(pattern1, 2);. console.log(newText1); // [ 'Java is awesome', ' Java is fun' ] const text2 ...
確定! 回上一頁