I am new to android and i have a following scenario below.
I have the following string below
file=android.txt&data="sampleExample"
How can I extract the substrings android.txt and sampleExample?
NOTE: I tried the following code
myString.substring(myString.lastIndexOf('=')+1, myString.length() );
but it returns output as SampleExample.
Please help me on this issue
Thanks