How to replace the Last "s" with "" in PHP

Posted by streetparade on Stack Overflow See other posts from Stack Overflow or by streetparade
Published on 2010-03-28T21:16:52Z Indexed on 2010/03/28 21:23 UTC
Read the original article Hit count: 229

Filed under:
|
|

Hi, I need to know how I can replace the last "s" from a string with ""

Let's say I have a string like testers and the output should be tester. It should just replace the last "s" and not every "s" in a string how can I do that in PHP?

© Stack Overflow or respective owner

Related posts about php

Related posts about string