Just try this
sub {
my($str,$len)=@_;
return substr($str,0,$len);
}
Usage:
<%short_desc($Description,100)%>
Cheers,
Cheers,
Dat
Programming and creating plugins and templates
Blog
sub {
my($str,$len)=@_;
return substr($str,0,$len);
}
Usage:
<%short_desc($Description,100)%>
Cheers,
Cheers,
Dat
Programming and creating plugins and templates
Blog