H-
Thanks for the emails and reply.
Someone mentioned substr and after first failing with the attempt I went
to the PHP site and looked it up.
Here's code that works for what I'm trying to do.
$test = "tree, bird, nest, ";
$new = substr($test, 0, strlen($test)-2);
$new = "$new ";
Appreciate nudges in the right directions.
-Sterling
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]