You probably want: var stringArray = str.split(/\s+/); to no have the whitespace in your array. – run_the_race. Jun 11 '20 at 15:45.
確定! 回上一頁