Return to Snippet

Revision: 23502
at February 8, 2010 19:11 by browncardigan


Initial Code
if (substr($str, -1) == "/") { $str = substr($str, 0, strlen($str)-1); }

Initial URL
http://bettesmidler.com/code/2009-10-29.htm

Initial Description

                                

Initial Title
get rid of that trailing slash

Initial Tags

                                

Initial Language
PHP