public StringGrabberList split ( String regexp ) { final StringGrabberList retList = new StringGrabberList ( ) ; final String string = sb . toString ( ) ; String [ ] splitedStrings = string . split ( regexp ) ; for ( String str : splitedStrings ) { retList . add ( new StringGrabber ( str ) ) ; } return retList ; }
Splits this string around matches of the given regular expression .