Replace character's position in a string
<p>In PHP, how can you replace the second and third character of a string with an <code>X</code> so <code>string</code> would become <code>sXXing</code>?</p>

<p>The string's length would be fixed at six characters.</p>

<p>Thanks</p>
