title: Get item positions in string array android?
body: <p>Let's say I have an array like this:</p>
  
  <pre><code>String[] = {
      "#abc #def",
      "#abc",
      "#def",
      "#xyz #def"
  }
  </code></pre>
  
  <p>My question is I want to search for specific character or string like "#abc" or "a" and get their positions in the array.</p>