title: Ballerina appending elements to end of an array
body: <p>How can i append element to end of an array directly other than using following code.</p>
  
  <pre><code>string[] array = ["1","2"];
  array[lengthof-1] = "3";
  </code></pre>