I need help, is there a way of writing this code without getting errors.thanks

<?php public function f_misc_deldelimiter( &$Txt, $Delim ) { $len = strlen( $Txt ); if ( 1 < $len && $Txt[0] === $Delim ) { if ( $Txt[$len - 1] === $Delim ) { $Txt = substr( $Txt, 1, $len - 2 ); } return false; } return true; } ?>
Sponsor our Newsletter | Privacy Policy | Terms of Service