public static String [ ] splitByDelimiters ( final String string , final String delimiters ) { char [ ] [ ] comps = CharScanner . splitByChars ( FastStringUtils . toCharArray ( string ) , delimiters . toCharArray ( ) ) ; return Str . fromCharArrayOfArrayToStringArray ( comps ) ; }
Split string by a list of delimiters