code: private String getFirstPartOfString(final String source) {
  
  		final int pos = source.indexOf(".");
  		if (pos > -1) {
  
  			return source.substring(0, pos);
  		}
  
  		return source;
  	}
docs: Returns the first part of the given source string when it contains a "."
  
  @return source