Hi, How can I start searching for the first space in a string while starting at say the 150th character? I'm trying to display the first 150 characters of an article that is stored in a LONGTEXT filed of a MYSQL database, and should the 150th character be inside a word, I would want to finish displaying that word.
For example supose the 150th character is the v in the word "privileges" I would want to finish displaying the word and end with "privileges" rather then ending with"priv" thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php