title: Passing string variables to plusargs
body: <p>I need to get command line options to add conditions to constraints in SystemVerilog.</p>
  <p>I'm invoking <code>$value$pluargs(&quot;string=%d&quot;,val)</code> from a function call, and I need to use the parameter passed to the function as the 'string' name.</p>
  <pre><code>function(string name);
  $value$plusargs(&quot;&lt;name&gt;=%d&quot;, val)
  endfunction
  </code></pre>
  <p>I'm not sure how to do this. Saying <code>$value$plusargs(&quot;%s=%d&quot;,name,val)</code> results in a 'too many arguments' error.</p>