How to chop off a char off end?

From: Date: Fri, 27 Apr 2001 23:44:36 +0000
Subject: How to chop off a char off end?
Groups: php.general 
Request: Send a blank email to php-general+get-50695@lists.php.net to get a copy of this message
Using Perl , I usually say $string=~s /,$//; to chop off a particualr char on end. How do you do this using PHP. Thanks, Dexter

« previous php.general (#50695) next »