title: How to insert a character every N characters in a string in C++
body: <p>How can I insert a <strong>char</strong>acter into a <strong>string</strong> exactly after 1 character?</p>
  
  <p>I need to insert '|' into
  the string after every other character.</p>
  
  <p>In other words (C++): <code>"Tokens all around!"</code><br>
  Turns into: <code>"T|o|k|e|n|s| |a|l|l| |a|r|o|u|n|d|!"</code> (no thats not an array)</p>
  
  <p>Thanks</p>