title: how to get particular part of string?
body: <pre><code>item1:100
  
  item2:50
  
  item3:200
  </code></pre>
  
  <p>I want to store separate item and price and store them in two different arrays: like in one array ,</p>
  
  <pre><code>item1
  
  item2
  
  item3
  </code></pre>
  
  <p>and in another array</p>
  
  <pre><code>100
  
  50
  
  200
  </code></pre>