>>> arg="Test___".split(/___/); Array 0 "Test" 1 "" length 2 Array Object["Test", ""]