How can I replace the first and last char of a string in C#?
<p>I have a simple question, and I did some research but couldn't find the right answer for it.</p>

<p>I have this string:</p>

<blockquote>
  <p>|She wants to eat breakfast|</p>
</blockquote>

<p>I found the answer for replacing ALL the characters <code>|</code> with another character.</p>

<p>My idea is that I want to replace the first <code>|</code> with <code>{</code> and the last one with <code>}</code>.</p>

<p>I know this is easy, but I the answer for this question would really help me out.</p>

<p>Thanks in advance.</p>
