I want to strip the last character in a variable in PHP. HOw do I do this? i.e.
$var = "words";
I want to be able to strip that "s" off the end of the word. I forgot how to do this ...Thanks.
| SitePoint Sponsor |


I want to strip the last character in a variable in PHP. HOw do I do this? i.e.
$var = "words";
I want to be able to strip that "s" off the end of the word. I forgot how to do this ...Thanks.
Bookmarks