$text=preg_replace("/^(.{0,100}.*?)(\s.*)?$/","\1",$text);
--> http://de3.php.net/manual/en/function.preg-replace.php
ist eventuell das suchmuster falsch?
weil es wird mir der ganze text angezeigt
$text=preg_replace("/^(.{0,100}.*?)(\s.*)?$/","\1",$text);
--> http://de3.php.net/manual/en/function.preg-replace.php
ist eventuell das suchmuster falsch?
weil es wird mir der ganze text angezeigt