How to Remove the Last Character from a String in PHP

How to Remove the Last Character from a String in PHP