• Teach Your Self With
             w3htmlschool.com

PHP Chop function

This function remove the last character in the string.
Example
Example Output