Get Array from string.xml
<p>I have a string in my <code>string.xml</code> whose structure is like this.</p>

<p>string.xml</p>

<pre><code>&lt;string name="my" formatted="false"&gt;As*#*Bs*#*Cs&lt;/string&gt;
</code></pre>

<p>and I am fetching this string in my main file like this.</p>

<p>main.java</p>

<pre><code>String h1 = getResource().getString(R.string.my);
</code></pre>

<p>and my output is like this.</p>

<pre><code>h1=As*#*Bs*#*Cs
</code></pre>

<p>but I want output in an array without regex like this.</p>

<pre><code>h1[0]="As",h1[1]="Bs",h1[2]="Cs";
</code></pre>

<p>What should I change to get the above output? Any help would be appreciated</p>
