Re: Looking for a string function
| From: | James Benson | Date: | Wed, 02 Nov 2005 23:15:48 +0000 |
| Subject: | Re: Looking for a string function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225002@lists.php.net to get a copy of this message | ||
How about substr_replace()
http://php.net/substr_replace
Phillip S. Baker wrote:
Greetigns Gents, I seem to remember a built in php function that will take a huge block of text. Then just spit out X number of characters from it and follow it with an additional string value. But I cannot remember what it is. I seem to remember it being something other than the substr(). I am looking to pull the first say 200 characters from an article and follow the last character/word with something like ... Does anyone know what I am talking about, or am I just smoking something and my memory is going? Blessed Be Phillip