title: Python: How to replace substring occurrences with next values from list?
body: <p>I have the following string and list:</p>
  
  <pre><code>myString = "a:::b:::c:::d ..... "  where ':::' is sort of delimiter
  myList = [1,2,3,4.......]
  </code></pre>
  
  <p>I know how to cycle through list values, but how do i replace each occurrence of ':::' with next value in list, such that my final output is as follows:</p>
  
  <pre><code>myString = "a1b2c3d ...."
  </code></pre>