PHP Archiv

Das PHP Script Verzeichnis

Tag Archives: Textcounter in PHP

Eine Routine zum Entfernen doppelter Zeilen /** * RemoveDuplicatedLines * This function removes all duplicated lines of the given text file. * * @param string * @param bool * @return string */ function RemoveDuplicatedLines($Filepath, $IgnoreCase=false, $NewLine=“n“){ if (!file_exists($Filepath)){ $ErrorMsg = ‚RemoveDuplicatedLines error: ‚; $ErrorMsg .= ‚The given file ‚ . $Filepath . ‚ does not […]