If the pattern is a slice of chars, split on each occurrence of any of the characters: let v: Vec<&str> = "2020-11-03 23:59".split(&['-', ' ', ':', '@'][.
確定! 回上一頁