Hi i would like to extract a string from a sentence : DocumentId=38416184&Viewer=D&ContentFormat=pdf
here am trying to extract only the string present after "="
the expected output is:
38416184
D
pdf
I tried using split () method
String[] tokens = sCurrentLine.split("=|&",-1);
here i got an output as :
38416184
Viewer
D
ContentFormat
pdf
please do needful.Thanks in advance :)