octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Single vs. Double Quotes


From: John W. Eaton
Subject: Re: Single vs. Double Quotes
Date: Sat, 15 Oct 2011 14:08:06 -0400

On 15-Oct-2011, Michael Goffioul wrote:

| way.This is could be achieved as easily as:
| 
| strrep (delimiter_string, '\n', "\n")

I'm not sure, but I don't think it is quite this simple.  WDMD if the
delimiter string is set to '\\n'?  Is this recognized as a
two-character sequence backslash and n, or is it backslash and NL?

In *printf, I think it is backslash and n, so it would be unfortunate
if the delimiter string in strread did something different.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]