Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: catching \n (newline)
Date: Mon, 20 Aug 2007 22:33:06 +0000 (UTC)
Organization: Tel-Aviv University
Lines: 13
Message-ID: <fad4r2$m0a$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1187649186 22538 172.30.248.37 (20 Aug 2007 22:33:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 20 Aug 2007 22:33:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 482202
Xref: news.mathworks.com comp.soft-sys.matlab:424704


sorry about the stupid question but,

>> a=sprintf('\n');
>> strcmp(a,'\n')

ans =

     0

and i don't see anything in the help for strcmp.

Thanks,
-naor