;
fwrite($fp, $new_name.chr(13).chr(10));
}
fclose($filename);
?
Thanks again,
J
-Original Message-
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 10:06 PM
To: Php-General
Subject: RE: [PHP] Help and advice sought - search/replace
If your
If your list looks like this:
Salo, Mika
Räikkönen, Kimi
Häkkinen, Mika
And there is no other commas in the list, you can do it something like
this:
?
$commaSeparatedList = join(\n, file(NAMES.txt));
$tabSeparatedList = preg_replace(, , \t, $commaSeparatedList);
$arrayOfTabSepList =
2 matches
Mail list logo