Show Output
Remove Specific Characters from the End of a String in PHP
Before:"; echo "
$str
"; echo "
After:
"; echo "
$rtrimmed_str
"; ?>