Du må godt fjerne kommentarene satte dem kun fordi jeg havde alt for meget tid

-
$startString='eceptionaalylongwordwithnospaces hi dude eceptionaalylongwordwithnospaces';
/*START Developed by:Jens Peter Svensson*/
preg_match_all('/[a-zA-Z]{20,}/m',$startString,$matches,PREG_OFFSET_CAPTURE);
print($startString);
print('<br>');
$offset=0;
for($i=0;$i<count($matches[0]);$i++){
print('fundet:'.$matches[0][$i][0].' på position:'.$matches[0][$i][1].'<br>');
//split ord.
$split=chunk_split($matches[0][$i][0],19,' ');
print('splittet til:'.$split);
print('<br>');
$startString=substr_replace($startString,$split,$matches[0][$i][1]-$offset,strlen($matches[0][$i][0]));
$offset+=strlen($matches[0][$i][0])-strlen($split);
}
print($startString);
print('<br>');
/*END Developed by:Jens Peter Svensson*/
-----------------------------------------------------------------------------
Min side ->www.the-hive.dk/~donp/