code: public static List<String> splitNicely( String toSplit, String separator ) {
  
  		if( separator == null || separator.isEmpty())
  			throw new IllegalArgumentException( "The separator cannot be null or the empty string." );
  
  		return splitNicelyWithPattern( toSplit, Pattern.quote( separator ));
  	}
docs: Splits a string and formats the result.
  @param toSplit the string to split (can be null)
  @param separator the separator (cannot be null or the empty string)
  @return a list of items (never null), with every item being trimmed