Consider I have a string and from that I need to extract particular keys values.
Example String : 17=TEST,90=BALANCE,45=SALARY,23=ULIP,20=PLAN,33=CREDIT,11=555
And consider if I wanted to get the value of 45 and 20 alone from the above string how can I get it ? one approach is to split based on ,(comma) and get it as an array and then search for the key and if it matches again split based on "=".
But is there any simple command to perform this task? thanks in advance..