<?php $string = "a,b,c,d,e,"; $string = rtrim($string, ","); echo $string;
You have javascript disabled. You will not be able to edit any code.