Bug #1171: chomp function

From: Date: Sun, 21 Feb 1999 16:56:04 +0000
Subject: Bug #1171: chomp function
Groups: php.dev 
Request: Send a blank email to php-dev+get-4194@lists.php.net to get a copy of this message
From: penn@usa.net Operating system: Linux 2.0.35 PHP version: 3.0.5 PHP Bug Type: Feature/Change Request Bug description: chomp function chomp function (like perl has): function chomp($String) { $TheEnd=strchr($String,"\n"); $Result=substr($String,0,$TheEnd-1); return $Result; } -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4194) next »