@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 ); }
public static String[] splitByCharsNoneEmpty( final String string, final char... delimiters ) { char[][] comps = CharScanner.splitByCharsNoneEmpty( FastStringUtils.toCharArray( string ), delimiters ); return Str.fromCharArrayOfArrayToStringArray( comps ); }
StringScanner { public static String[] splitByCharsNoneEmpty( final String string, final char... delimiters ) { char[][] comps = CharScanner.splitByCharsNoneEmpty( FastStringUtils.toCharArray( string ), delimiters ); return Str.fromCharArrayOfArrayToStringArray( comps ); } }
StringScanner { public static String[] splitByCharsNoneEmpty( final String string, final char... delimiters ) { char[][] comps = CharScanner.splitByCharsNoneEmpty( FastStringUtils.toCharArray( string ), delimiters ); return Str.fromCharArrayOfArrayToStringArray( comps ); }  }
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); }
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);  }