code: public static Map.Entry<String,String> parseExportedVariable( String exportedVariable ) {
  
  		int index = exportedVariable.indexOf( '=' );
  		String varName = exportedVariable, defaultValue = null;
  		if( index > 0 ) {
  			varName = exportedVariable.substring( 0, index ).trim();
  			defaultValue = exportedVariable.substring( index + 1 ).trim();
  		}
  
  		return new AbstractMap.SimpleEntry<>( varName, defaultValue );
  	}
docs: Parses an exported variable (&lt;variableName&gt; = &lt;defaultValue&gt;).
  <p>
  The equal symbol and default value are optional.
  </p>
  
  @param exportedVariable an exported variable (not null)
  @return a map entry (key = variable name, value = default value)