Using Perl , I usually say

$string=~s /,$//;

to chop off a particualr char on end.

How do you do this using PHP.

Thanks,

Dexter

Reply via email to