PCHomepage
Programmer
How can I remove a right comma from a string? I would have expected to be able to use rtrim() (or even trim()) but nothing seems to happen and the comma remains:
Code:
echo rtrim($String, ',');