> > You need to explode() $line. > > Won't that still cause problems for him, since explode() will > ignore concurrent separators (||||)?
Where do you get that from? $a = "a|b|||c||d"; $b = explode("|",$a); print_r($b); Array ( [0] => a [1] => b [2] => [3] => [4] => c [5] => [6] => d ) ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php