Path: news.mathworks.com!newsfeed-00.mathworks.com!solaris.cc.vt.edu!news.vt.edu!guardian.oit.duke.edu!news.glorb.com!news2.glorb.com!tr22g12.aset.psu.edu!news.mathforum.org!not-for-mail
From: NouveauIX <visualxd@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Compare strings of different lengths without using strcmp?
Date: Fri, 25 Sep 2009 01:28:52 EDT
Organization: The Math Forum
Lines: 1
Message-ID: <1257816834.5891.1253856562126.JavaMail.root@gallium.mathforum.org>
References: <h9gjvo$tmg$1@news.eternal-september.org>
NNTP-Posting-Host: gallium.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1253856562 22795 144.118.94.39 (25 Sep 2009 05:29:22 GMT)
X-Complaints-To: news@news.mathforum.org
NNTP-Posting-Date: Fri, 25 Sep 2009 05:29:22 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:572808


Oh I'm sorry. They need to be equal disregarding case. So 'banana' and 'BaNana' would be equal, as would 'purple' and 'purple'. Result is true if the strings are equal, false if not. I need to be able to enter strings of lengths that aren't equal, though, even if the result will be false.