Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Alex] Sumarizing what I found...

Quote Reply
Re: [Alex] Sumarizing what I found... In reply to
Hi, I have gotten the subject trimming by using a sligtly modified global as follows:

[code]
sub { my ($string, $len) = @_;
my $string_len = length($string);
if ($string_len > "$len") { return substr($string, 0, $len) . "..."; }
else { return $string; }
}
[/code]

How can I do it with <%nbsp post_name%>?

--
David
Subject Author Views Date
Thread Sumarizing what I found... unixman 2083 Apr 16, 2002, 5:26 PM
Thread Re: [unixman] Sumarizing what I found...
Alex 1966 Apr 17, 2002, 11:32 PM
Thread Re: [Alex] Sumarizing what I found...
unixman 1944 Apr 19, 2002, 11:25 AM
Thread Re: [unixman] Sumarizing what I found...
Alex 1933 Apr 19, 2002, 11:29 AM
Post Re: [Alex] Sumarizing what I found...
unixman 1935 Apr 19, 2002, 11:35 AM