(space is marked as _)
inputs are : “/a/b/” , “/a/b//_” , “/a/b//_/” , “b/////_”
I expected : ["", “a”, “b”, “”] , ["", “a”, “b”, “”, “_”] , ["", “a”, “b”, “”,"_", “”] , [“b”, “”, “”, “”, “”, “_”]
result : ["", “a”, “b”] , ["", “a”, “b”, “”, “_”] , ["", “a”, “b”, “”, “_”] , [“b”, “”, “”, “”, “”, “_”]
input : “b/////_” , “b/////”
i expected : [“b”, “”, “”, “”, “”, “_”] , [“b”, “”, “”, “”, “”, “”]
result : [“b”, “”, “”, “”, “”, " "] , [“b”]
split-at block ignores the separator, when it comes at last without any text. I was kinda not sure if this was deliberate behavior so i did some tests, as in picture above
still not sure if this is deliberate, but kinda i wish it works also when last place without text.
I tried other separators like comma or alphabet and it was just same