### Question:
StringScanner { public static String[] splitByCharsNoneEmpty( final String string, final char... delimiters ) { char[][] comps = CharScanner.splitByCharsNoneEmpty( FastStringUtils.toCharArray( string ), delimiters ); return Str.fromCharArrayOfArrayToStringArray( comps ); }  static boolean isDigits( String input ); static String[] split( final String string,
                                  final char split, final int limit ); static String[] split( final String string,
                                  final char split ); static String[] splitByChars( final String string,
                                         final char... delimiters ); static String[] splitByCharsFromToDelims( final String string, int from, int to,
                                         final char... delimiters ); static String[] splitByCharsFrom( final String string, int from,
                                                     final char... delimiters ); static String[] splitByWhiteSpace( final String string
                                         ); static String[] splitByDelimiters( final String string,
                                              final String delimiters ); static String[] splitByCharsNoneEmpty( final String string, final char... delimiters ); static String removeChars( final String string, final char... delimiters ); static String[] splitByCharsNoneEmpty( final String string, int start, int end, final char... delimiters ); static float parseFloat( String buffer, int from, int to ); static float parseFloat( String buffer ); static double parseDouble( String buffer, int from, int to ); static double parseDouble( String buffer ); static int parseInt( String buffer, int from, int to ); static int parseInt( String buffer ); static long parseLong( String buffer, int from, int to ); static long parseLong( String buffer ); static short parseShort( String buffer, int from, int to ); static short parseShort( String buffer ); static short parseByte( String buffer, int from, int to ); static short parseByte( String buffer ); static int findWhiteSpace(String buffer); static String substringAfter(String string, String after); static String substringBefore(String string, String before);  }### Answer:
@Test public void testCreateFromString() { String[] split = StringScanner.splitByCharsNoneEmpty( TEST_STRING, '[', ',', '"', '\\', ':', ']', '/' ); String first = idx( split, 0 ); String second = idx( split, 1 ); String third = idx( split, 2 ); String fourth = idx( split, 3 ); String fifth = idx( split, 4 ); String sixth = idx( split, 5 ); String seventh = idx( split, 6 ); String last = idx( split, -1 ); assertEquals( "199984", first ); assertEquals( "1384795052823", second ); assertEquals( "127.0.0.1", third ); assertEquals( "51706", fourth ); assertEquals( "abc123", fifth ); assertEquals( "rickHigh", sixth ); assertEquals( "217.0.0.1", seventh ); assertEquals( "asdfasdf", last ); assertEquals( 12, len( split ) ); }
@Test public void testSimple() { String[] split = StringScanner.splitByCharsNoneEmpty( "1,2,3", ',' ); String firstArg = idx( split, 0 ); assertEquals( "1", firstArg ); }
@Test public void testSimple2() { String[] split = StringScanner.splitByCharsNoneEmpty( "1,2,,4", ',' ); String firstArg = idx( split, 0 ); String second = idx( split, 1 ); String third = idx( split, 2 ); assertEquals( "1", firstArg ); assertEquals( "2", second ); assertEquals( "4", third ); }