<?php $string = '12345,'; $result = substr($string, 0, -1); print $result;
You have javascript disabled. You will not be able to edit any code.