Oct 5, 2009, 5:39 AM
Veteran / Moderator (17298 posts)
Oct 5, 2009, 5:39 AM
Post #2 of 4
Views: 469
remove_end_slash
Code:
sub {
my $tmp = $_[0];
$tmp =~ s/\/$//;
return $tmp;
}
<%remove_end_slash($variable)%>
Replace $variable with the name of the tag you want to do this with :)
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work! Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500) Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins! Compare our different Plugin packages *new* Free CSS Templates