Thanks, found a way - the PHP function wordwrap does it just perfect (recognizes the tags, too) ...
Sometimes it's just good to browse a little bit through PHP.net (*g*) Sascha Ragtschaa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php