how to map N keywords based on delimiter
<p>I have N keywords which can be mapped as follows:</p>

<pre><code>1,2,3,4----/5,6,7,8----/9,10,11,12----/--------
</code></pre>

<p>From the above line I should be able to map 1 to 5,2 to 6, 3 to 7, so on. I should also be able to map 1 to 9, 1 to 10, 1 to 11, 1 to 12 so on like that I should be able to map N number of combinations. I should make this generic in such a way that it should work with N number of combinations. Please tell me the logic how I can do this.</p>
