title: How to extract keys and values from string array?
body: <p>I am doing an android app, where i read the text from an image and i get an output string like below,</p>
  
  <blockquote>
    <p>NAME : michael /nPHONE NO: 771234521/n e-Mail: michael@gmai|.com /nCompany:
    Google/n</p>
  </blockquote>
  
  <p>I want to extract them individually as a string, and assign to a variable like,</p>
  
  <p>String Name = "michael";
  String Phone = "771234521";</p>
  
  <p>how can i achieve like this,here is my piece of code,</p>
  
  <pre><code>input.setText(recognizedText);
  String[] separated = recognizedText.split("/");
  for (String s: separated)
  {
  
  }
  </code></pre>