New PHP function

From: Date: Sun, 02 Dec 2001 23:46:00 +0000
Subject: New PHP function
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-7661@lists.php.net to get a copy of this message
Hi PHP team ! I wrote an usefull string function. You could use it for the further php versions. The function name is strcut. This function cuts all given chars from the string left and right. sample: <html> <body> <?php include "string.inc.php"; $newvar=strcut('!!tocut!','!'); echo $newvar; ?> </body> </html> output: tocut The functions strrcut (cut only right) and strlcut (cut only left) are included too. Alexander Feller

Attachment: [application/octet-stream] string.inc.php
« previous php.mirrors (#7661) next »