// alerts -> a,b,c,d
// which is correct
window.alert("a b c d".split(/[\u000A-\u000D\u2028\u2029\u0009\u0020\u00A0\uFEFF]+/g));
However, this isn't:
// alerts -> ,a,b,c,d,
// which is not what we need
// as you can see, there is an extra space
// in the front and end of the array
// it is supposed to alert -> a,b,c,d
// just like our first example
window.alert(" a b c d ".split(/[\u000A-\u000D\u2028\u2029\u0009\u0020\u00A0\uFEFF]+/g));
Any ideas guys?