Mailinglisten-Archive |
> $keyword_in = array();
> $keywords = array();
> $words = explode(" ", $text);
> foreach ($words AS $word) {
> $firstchar = substr($word, 0, 1);
> if (strToUpper($firstchar) == $firstchar) {
> if (!isset($keyword_in[$word])) {
> $keyword_in[$word] = true;
> $keywords[] = $word;
> }
> }
> }
> unset($keyword_in);
ja aber da nehmt ihr ja auch Satzzeichen mit!
--
Sebastian Mendel
*www.warzonez.de*
www.sebastianmendel.de | www.tekkno4u.de | www.nofetish.com
php::bar PHP Wiki - Listenarchive