Re: Reducing Strings to a certain length
| From: | Jim Root | Date: | Mon, 19 Jul 2004 02:25:33 +0000 |
| Subject: | Re: Reducing Strings to a certain length | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35359@lists.php.net to get a copy of this message | ||
http://us4.php.net/manual/en/function.substr.php
On Sun, 18 Jul 2004 18:48:10 -0700, Cole Ashcraft
<cole.ashcraft@ashcraftfamily.net> wrote:
> How would you reduce a string to a specified length? Say reduce 600 to
> 60 or abc to ab? Is there a PHP function for this? Will I have to write
> my own code?
>
> Cole
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner on mail.ashcraftfamily.net, and is believed
> to be clean.
> Please report any deviance from this condition immediately to the AFN
> Administrator at admin@ashcraftfamily.net
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Jim Root
jimroot@gmail.com