since
"this,is,a,comma,separated,sentence".split(",");
will output
["this", "is", "a", "comma", "separated", "sentence"]
Then why "1000010001001".split("1")
splitting not working as expected i.e ["0000", "000", "00"]
. Instead it outputs
["", "0000", "000", "00", ""]