[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Reading from an empty file
- From: Javier Guerra Giraldez <javier@...>
- Date: Tue, 5 Sep 2017 15:36:03 +0100
On 5 September 2017 at 15:18, Francisco Olarte <folarte@peoplecall.com> wrote:
> Normally, when you want to be able to have an empty string, you use
> line separators, or other similar format for your datafiles, so i.e.,
> "\n" is a file with just an empty string but "" is a file with no
> strings on it.
i think what you're describing is "line terminators":
"" => no lines
"\n" => one (empty) line
as i understand it, "line separators" would be:
"" => one (empty) line
"\n" => two (empty) lines
--
Javier