Simple way to remove last character from a String in PHP


Are you looking for a one line script that will remove the last character of a String?.
Is your question is how to remove the last Character of a String using PHP?.

Here is the Answer for you:

Its …