Bennis Welt

Pirat, Physiker, Free Software Nerd

problem teilweise gelöst

dank der tollen php doku ist bisher das entstanden:


$Char) {
return substr($Txt, 0, $Char) . "-
" . worttrenner(substr($Txt, $Char, $string_length-$Char),25);
}
else {
return $Txt;
}
}

$string = "This is a lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllong and even longer text";
$chunks = spliti (" ", $string);

$ausgabe = "";

for ($i=0;$i

was:

This is a lllllllllllllllllllllllll-
lllllllllllllllllllllllll-
lllllllllllllllllllllllll-
lllllllllllllllllllllllll-
lllllong and even longer text

ausgeben wird ^^

Written by benniswelt

Januar 16, 2005 um 21:15

Veröffentlicht in Uncategorized

Tagged with

2 Antworten

Subscribe to comments with RSS.

  1. Man man man. Ich sag mal einfach so : BAUM !!!

    Peter Pan

    Januar 17, 2005 at 11:44

  2. KATZE!

    Benni

    Januar 17, 2005 at 12:07


Kommentare sind geschlossen.

%d Bloggern gefällt das: