I have a string in following format
String s= abc=1,cde=2,efg=3
I only want to extract efg.
I tried by Spilting it but not getting 3 in last part for part[3] it is showing arrays out of bounds exception. I want to extract as I need to increment last part by 1 every time.