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