title: To tokenize the values in a hashmap
body: <p>I have a map whcih has the key value  as long and value as String. The values of the map are obtained from the db and it is in the below format.</p>
  
  <pre><code>1: BusinessPartner.name1,BusinessPartner.name2,BusinessPartner.name3,BusinessPartner.name4
  2: BusinessPartner.name1,BusinessPartner.name2,BusinessPartner.name3
  6: ADDRESS.addressline1,ADDRESS.addressline2,ADDRESS.addressline3
  </code></pre>
  
  <p>where 1,2,6 are the keys.</p>
  
  <p>I need to tokenize the strings that is for the key 1 the result should be 
  Businesspartner and the other values should be name1,name2,name3,name4.
  I am doing this because i need to put these values into an another map as 
  Map(name1,name2,name3,name4)>
  I can split the string but how to take Businesspartner as a common value for the other entities</p>
  
  <p>Can anybody tell me how to do this</p>
  
  <p>Thanks</p>