Now delimiter param in StrSplit function is used as a single separator. It means that the following code will not split input string
@var $str = "123,|456;|,789";
@var $arr = StrSplit($str, ";|,");
I request additional optional param like any_char (0/1):
- with the value 0 the function would have current behaviour;
- with the value 1 the character of the delimiter which has the lowest index in the input string would be used as a delimiter (so in the code above it would be "," char)
- with the value 2 the first found char of the delimiter would be used as a delimiter (so in the code above it would be "|" char)