I just ran in to this exact bug today (empty array output when no delimeters found). After a bit of testing, I'm confused as to what the expected output of the function is when Ignore Duplicate Delimiters is set. It certainly differs from my expectation! Here are a few test strings I tried, with my expected output vs the actual output. All tests used comma as the delimiter, and have ignore duplicate delimiter set true. Test Input Expected Output Actual Output string1,string2 {"string1", "string2"} {"string1", "string2"} string1,,string2 {"string1", "string2"} {"string1", "string2"} string1 {"string1"} {} ,string1 {"", "string1"} {} ,,string1 {"", "string1"} {} string1, {"string1", ""} {"string1", ""} string1,, {"string1", ""} {"string1", ""} ,string1, {"", "string1", ""} {"string1", ""} ,,string1,, {"", "string1", ""} {"string1", ""} , {"", ""} {} ,, {"", ""} {}