Hallo Forum,
Ich glaube ich stehe gerade ein wenig auf der Leitung.
Ich habe z.B. so eine Textdatei:
Text
wo
abc
51
abc
abc
wo
abc
51
und möchte dann wissen wie oft jedes Wort vorgekommen ist.
Es gibt aber nicht immer nur die gleichen Wörter sondern es kannn auch z.B. "anderes Wort" oder "Forum" dabei sein.
Bis jetzt habe ich erst das
$file = FileOpen("datei.txt",0)
$inhalt_roh = FileRead($file)
FileClose($file)
$inhalt_array = StringSplit($inhalt_roh,@LF)
For $i = 1 To $inhalt_array[0]
Next