Line 4 & 5 combined:
$text = substr($text, 0, $limit) . " ... your additional text here";
Mike Frazer
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Really simple, but can't see which funtion to use in the manual.
>
> I want to take a
Hi Justin,
$string = substr($string, 0, 5000) . " text too long.";
?
http://www.php.net/substr
James
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Really simple, but can't see which funtion to use in the manual.
>
> I want to t
2 matches
Mail list logo