I'm looking for a "function" or something in PHP. Long story short, we are doing a newsletter. I want the front page of the newsletter to be the first 200 characters of each newsletter article. Looking for a "trim" or "truncate" function. That way I can do something like "trim($row,200)" and it would trim "$row" to 200 characters. I searched on PHP.net and I know the actual PHP "trim" function seems to remove characters from either the from the front (ltrim) rear (rtrim) or both (trim) but dosen't seem to limit the amout of characters returned. I had less luck understanding what the OCI-LOB->Truncate functions were. Seem to have to do with file length, not necessarly characters.
Any help would be appreshated. Thanks!
Any help would be appreshated. Thanks!