title: Looping through strings?
body: <p>I've been trying to learn Ruby recently by converting simple programs I've written in Python. </p>
  
  <p>In Python, I have a program which defines a function which takes a string and returns a new string which is the old string with a dash in between each character. </p>
  
  <p>So, "hello" would be returned as "-h-e-l-l-o". </p>
  
  <p>In Python this is very simple as you just loop through each character of the original string and add it to a new string plus a dash. </p>
  
  <p>However, this seems more difficult in Ruby since I can't just loop through a string in Ruby, as far as I can tell.</p>
  
  <p>What would be a good way to do this?</p>