CCStringLabels.SplitSourceSpecification of what to do with empty blocks, as in split ~by:"-" "-a-b-".
{first=false; last=false} will return ""; "a"; "b"; ""{first=true; last=false} will return "a"; "b" ""{first=false; last=true} will return ""; "a"; "b"{first=true; last=true} will return "a"; "b"The default value of all remaining functions is Drop_none.
Do not drop any group, even empty and on borders.
Split the given string along the given separator by. Should only be used with very small separators, otherwise use Containers_string.KMP.
Those split functions actually copy the substrings, which can be more convenient but less efficient in general.
Split on the first occurrence of by from the leftmost part of the string.
Split on the first occurrence of by from the leftmost part of the string.
Split on the first occurrence of by from the rightmost part of the string.
Split on the first occurrence of by from the rightmost part of the string.