title: Is there a way to split a string by every nth separator in Python?
body: <p>For example, if I had the following string:</p>
  
  <p>"this-is-a-string"</p>
  
  <p>Could I split it by every 2nd "-" rather than every "-" so that it returns two values ("this-is" and "a-string") rather than returning four?</p>