title: How to get the arrays inside an array which is in the form of string using javascript
body: <p>I am pretty new to java and javascript and I have a problem.</p>
  
  <p>I have an array in the form of a string which looks like below in javascript.</p>
  
  <pre><code>[[0,'Apple','Banana'],['The Apple fruit, comes from Apple Tree', 'The Banana fruit, comes from Banana Tree']]
  </code></pre>
  
  <p>In this, I need to get the first array <code>[0,'Apple','Banana']</code> and save it as a separate array and then I need to get the second array <code>['The Apple fruit, comes from Apple Tree', 'The Banana fruit, comes from Banana Tree']</code> and display it as a text in text area like this.</p>
  
  <blockquote>
    <p>The Apple fruit, comes from Apple Tree<br>The Banana fruit, comes from
    Banana Tree</p>
  </blockquote>
  
  <p>How can I achieve this in javascript?</p>
  
  <p>Please need some help as I have googled about this problem intensively.</p>
  
  <p>Thanks in advance.</p>