Dave Carrera wrote:
How would I show 100 chars after finding the first instance of a searched
word in a string.

$start = strpos('hello',$str); $hundredchars = substr($str,$start,100);

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to