Hi,
This may sound strange but I would like to know if there is a better solution for my question.
I have a String say
String abc = " India = Delhi,USA=Washington,UK=London";
I would like to get the values by specifying the country Name.If I want to get the value for India,I should get the corresponding value.I Don't want to use StringTokenizer.I want to know if there are any function in Java6 which can improve my code reading.
Thanks
Siva.
This may sound strange but I would like to know if there is a better solution for my question.
I have a String say
String abc = " India = Delhi,USA=Washington,UK=London";
I would like to get the values by specifying the country Name.If I want to get the value for India,I should get the corresponding value.I Don't want to use StringTokenizer.I want to know if there are any function in Java6 which can improve my code reading.
Thanks
Siva.