How to read two properties parallel to get find value from one property whos key in other property?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vimal_Jain
Posted On:   Sunday, July 25, 2004 09:14 PM

			
My properties file has properties like this

name.list=key1,key2,key3,key4
value.list=val1,val2,val3,val4

Now I want to search the value defined for "key3" in the list "name.list" and then find the corresponding value from the list "value.list".

In the above property file "key3" is at position 3 in "name.list" and the corresponding value at position 3 in "value.list" is "val3", so the desired value is "val3"

Pls let me know how I can achieve this.
About | Sitemap | Contact