string:tokens(“A,,,,,”, “,”) returns [“A”] where as I expect it to return [“A”, “”, “”, “”, “”]. This can be solved using regexp:split function.

regexp:split(“A,,,,,”, “,”) returns [“A”, [], [], [], []]

Advertisements