PHP String Replace at the end of a string
<p>I have a long string <code>Quick brown fox jumped over..... Friends</code>. I need to replace the string <code>S</code> in <code>Friends</code> to an empty string so it will finally display as <code>Friend</code>.</p>

<p>How can i do this ? <code>str_replace</code> will basically do it, but how do i get the last character chopped off ?</p>
