I have a string in my string.xml whose structure is like this.
string.xml
<string name="my" formatted="false">As*#*Bs*#*Cs</string>
and I am fetching this string in my main file like this.
main.java
String h1 = getResource().getString(R.string.my);
and my output is like this.
h1=As*#*Bs*#*Cs
but I want output in an array without regex like this.
h1[0]="As",h1[1]="Bs",h1[2]="Cs";
What should I change to get the above output? Any help would be appreciated