Hi,

        Thanks, that worked like a charm.  I didn't realize that | was a special
character, that's good to know.  I also agree with the explode method.
Seems quicker.  Thanks!

-Dan Joseph

> The | character is a special character in regular expressions,
> which split()
> expects. So, you can use
>
> split("\|",$line)
>
> which escapes the | character.
>
> Although, since you're not really using a regular expression, you'd be
> better off (more efficient) to just use
>
> explode('|',$line)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to