in reply to Cutting down a string
$string=substr($string,0,20).'..' if length($string) > 22;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Or there's also . . .
by Fletch (Bishop) on Nov 10, 2001 at 03:22 UTC | |
by jmcnamara (Monsignor) on Nov 10, 2001 at 20:10 UTC | |
|
Re: Re: Cutting down a string
by Anonymous Monk on Nov 10, 2001 at 02:37 UTC |