Shortly I want to convert following string
"111---222-333"
to
"111", "222-333".
So I want to split with only "---" string, not with "-".
Java split can do it, but if i use str1.split(separator: "---") with "---",
then it says "Cannot convert value of type 'String' to expected argument type 'Character'"