* @param varsAvalues
   * @return String
   */
  public static String instantiateStringTemplate(String template, Cons varsAvalues) {
    { String var = null;

      { String item = null;
        Cons iter000 = varsAvalues;

        for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
          item = ((StringWrapper)(iter000.value)).wrapperValue;
          if (var != null) {
            template = Stella.replaceSubstrings(template, item, var);
            var = null;
          }
          else {
            var = item;
          }
        }
      }
      return (template);
    }
  }