title: How can I create a function with an arbitrary number of parameters?
body: <p>I want to create a function that receive multiples strings as parameters.
  Like the function <code>printf("Hello %s",name);</code> of C. but I don't want to pass a ready array, it wouldn't be readable.</p>
  
  <pre><code>Edit1.text:=lang('Hello');
  
  Edit2.text:=lang('Welcome to {1} guest',place);
  
  Edit3.text:=lang('Hi {1}, is your {2} time in {3}','Victor','first','Disney');
  </code></pre>
  
  <p>output should be:</p>
  
  <pre><code>Hello
  Welcome to Disney guest
  Hi Victor is your first time in Disney
  </code></pre>
  
  <p>how I create the <code>function TForm1.lang(parameters:String):String;</code>, I did a research, but I can't get it work.</p>
  
  <p>I need to access the parameters[] and the parameters.length also.</p>
  
  <p>I'm needing this to turn my App to multilang.</p>