How to remove the last character from string in PHP?

I need to remove an unwanted last character from a PHP string variable? How can I do this?


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!