Re: [PHP-DB] Reducing Strings to a certain length

2004-07-18 Thread Clod
Cole, Additionally, visit... http://ph.php.net/manual/en/function.substr.php clod On Jul 18, 2004, at 9:48 PM, Cole Ashcraft 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 co

Re: [PHP-DB] Reducing Strings to a certain length

2004-07-18 Thread Jim Root
http://us4.php.net/manual/en/function.substr.php On Sun, 18 Jul 2004 18:48:10 -0700, Cole Ashcraft <[EMAIL PROTECTED]> 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

Re: [PHP-DB] Reducing Strings to a certain length

2004-07-18 Thread Jonathan Hadddad
substr On Jul 18, 2004, at 9:48 PM, Cole Ashcraft 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

[PHP-DB] Reducing Strings to a certain length

2004-07-18 Thread Cole Ashcraft
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 cl