my @parts = split(/[,\-_]/, $s);
var parts = Regex.Split(s, "[,_-]");
var parts = s.Split(',', '-', '_');
var parts = s.split( RegExp(r"[,-_]") );
re := regexp.MustCompile("[,\\-_]")
parts := re.Split(s, -1)
var parts = s.split(/[-_,]/)
List<?> parts = list(new StringTokenizer(s, ",-_"));
String z = "[%s]".formatted(quote(",-_")),
parts[] = s.split(z, -1);
Scanner t = new Scanner(s);
String z = quote(",-_");
z = "[%s]".formatted(z);
t.useDelimiter(compile(z));
String parts[] = t.tokens()
.toArray(String[]::new);
t.close();
parts := s.split([',','_','-']);
parts = re.split('[,_\-]', s)
p = '[%s]' % escape(',-_')
parts = split(p, s)
d, parts, t = ',-_', [], 0
for i, x in enumerate(s):
if x in d:
parts.append(s[t:i])
t = i + 1
parts.append(s[t:])
parts = s.split( Regexp.union(",", "-", "_") )
let parts: Vec<_> = s.split(&[',', '-', '_'][..]).collect();