title: How to insert a newline character to an array of characters
body: <p>I want to insert a newline character into an array of characters which initially is a string. Let's say I have a variable <code>myvar = "Blizzard"</code>. A string is formed from an array of characters. How can I insert a newline character inside it? In hope of making an output like this:</p>
  
  <pre><code>"B
   lizzard"
  </code></pre>
  
  <p>I tried this:</p>
  
  <pre><code>myvar[1] = "\n"
  </code></pre>
  
  <p>but it's not working, and the output is like this:</p>
  
  <pre><code>"B\nlizzard"
  </code></pre>
  
  <p>My goal is to make the output like this:</p>
  
  <pre><code>B
  l
  i
  z
  z
  a
  r
  d
  </code></pre>
  
  <p>without using <code>puts</code>. I have to do it by inserting newline characters into the array. Can someone point out where my mistake is, and if possible help me with this?</p>