F Florian Angesehenes Mitglied 09.12.2004 #2 Hallo, was einer wie ich ein bestimmtes Wort in einen String zähle? $string = "wort und noch ein wort und noch ein wort"; Ich möchte also wissen wie oft "wort" in $string vorkommt. MFG Florian
Hallo, was einer wie ich ein bestimmtes Wort in einen String zähle? $string = "wort und noch ein wort und noch ein wort"; Ich möchte also wissen wie oft "wort" in $string vorkommt. MFG Florian
R Roger Bobst Angesehenes Mitglied 09.12.2004 #3 Hallo Florian Guck dir das an: http://ch2.php.net/manual/en/function.substr-count.php GRuss Roger