vinayak jog wrote:Tell the correct string like
String str = ""
and the pattern in which you want to extract
give one example which correctly illustrate your intention
Given,
String str = "st,1=4 st,2=15 st,3=24 ";
The output I would like to have is = [4,15,24].
So one of the ways I tried is
and this is the output I got,
[ , , ,1, 4 , , ,2, 15 , , ,3, 24], which eliminates 'st' and '=" apparently. I'm not sure what's the pattern should I put in to get only the values after "=".
thanks.