Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [kzap] global to cut short variable

Quote Reply
Re: [kzap] global to cut short variable In reply to
Something like this:

sub {
my $field = shift;
my $length=shift;
return substr($field, 0, $length) . '...';

}
Subject Author Views Date
Thread global to cut short variable kzap 2362 Sep 9, 2003, 11:21 AM
Thread Re: [kzap] global to cut short variable
afinlr 2320 Sep 9, 2003, 4:23 PM
Thread Re: [afinlr] global to cut short variable
kzap 2326 Sep 9, 2003, 9:33 PM
Thread Re: [kzap] global to cut short variable
Andy 2319 Sep 10, 2003, 12:39 AM
Thread Re: [Andy] global to cut short variable
kzap 2302 Sep 11, 2003, 11:18 AM
Post Re: [kzap] global to cut short variable
Andy 2307 Sep 11, 2003, 11:22 AM
Post Re: [kzap] global to cut short variable
afinlr 2292 Sep 11, 2003, 3:23 PM