Another day, another Dynamo challenge
I am working on automating my wall legend creation. What I have managed to do is read the wall’s compound structure layers’ materials. Now, as the naming convention used by the architect is not exactly our firm’s naming convention I want to string.replace my way out of it! As well, I read the material’s thickness and try to ‘string.insert’ this information at the end of the materials’ strings. I hope my intention is clear!
Now, for one wall type at a time this is working flawlessly. However, I do not want to repeat this for each wall type (30+) and so I am trying to work with lists while replacing these strings, so I only have to hit ‘run’ once for my entire legend. Please see the attachment. In this example I have 4 wall types  through  with their respective materials. In this case I am trying to replace the string ‘CW-profielen’ (left) for every list item with its respective replacements (on the right). Although in this case they all say ‘600mm’, obviously this number can vary per wall type.
How can I manage to replace the ‘CW-profielen’-string of list item  with the ‘CW-profielen, h.o.h.: 600mm’ of item ,  with ,  with  and  with ?
I have been trying all morning, it should not be so hard! I am thinking something like list.map .combine .cycle? I am looking forward to your suggestions!