public static Collection < String > split ( final String value ) { if ( value == null ) { return Collections . emptyList ( ) ; } final String [ ] tokens = value . trim ( ) . split ( "\\s+" ) ; return asList ( tokens ) ; }
Split string by whitespace .