question: public static String [ ] split ( String str , String delimiter ) { List < String > result = new ArrayList < String > ( ) ; int lastIndex = 0 ; int index = str . indexOf ( delimiter ) ; while ( index != - 1 ) { result . add ( str . substring ( lastIndex , index ) ) ; lastIndex = index + delimiter . length ( ) ; index = str . indexOf ( delimiter , index + delimiter . length ( ) ) ; } result . add ( str . substring ( lastIndex , str . length ( ) ) ) ; return ArrayUtil . toArray ( result , String . class ) ; }
target:  same as the String.split(), except it doesn't use regexes, so it's faster.