code: private String addAndEncodeVariable(String originalValue, String newVariable,
        String newVariableName, boolean encode) {
      return addAndEncode(originalValue, newVariable, newVariableName, encode);
    }
docs: Adds the and encode variable.
  
  @param originalValue the original value
  @param newVariable the new variable
  @param newVariableName the new variable name
  @param encode the encode
  @return the string