<?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;
}
?>