Thread Subject: strncmpi help wrong matlab R2007a

Subject: strncmpi help wrong matlab R2007a

From: Arthur Zheng

Date: 9 Dec, 2008 03:30:19

Message: 1 of 3

Hi,
When I type "help strncmpi", it read as follows:
__________________________________________________________________
TF = STRNCMPI(S1,S2) compares the first N characters of strings S1 and S2 and returns logical 1 (true) if they are the same except for case, and returns logical 0 (false) otherwise.
__________________________________________________________________
I am wondering if there is a missing of N somewhere in the function parameter list?


Regards,
Hao Zheng (Arthur)
Electrical and Computer Engineering
Georgia Institute of Technology

Subject: strncmpi help wrong matlab R2007a

From: Lucio Andrade-Cetto

Date: 9 Dec, 2008 09:05:03

Message: 2 of 3

That is correct, however if I am not wrong, it was corrected in 2007b or 2008a, the new mhelp reads now:

 STRNCMPI Compare first N characters of strings ignoring case.
    TF = STRNCMPI(S1,S2,N) performs a case-insensitive comparison between the
    first N characters of strings S1 and S2. The function returns logical 1
    (true) if they are the same except for letter case, and returns logical 0
    (false) otherwise.

"Arthur Zheng" <hzheng7@gatech.edu> wrote in message <ghkoob$ric$1@fred.mathworks.com>...
> Hi,
> When I type "help strncmpi", it read as follows:
> __________________________________________________________________
> TF = STRNCMPI(S1,S2) compares the first N characters of strings S1 and S2 and returns logical 1 (true) if they are the same except for case, and returns logical 0 (false) otherwise.
> __________________________________________________________________
> I am wondering if there is a missing of N somewhere in the function parameter list?
>
>
> Regards,
> Hao Zheng (Arthur)
> Electrical and Computer Engineering
> Georgia Institute of Technology

Subject: strncmpi help wrong matlab R2007a

From: Arthur Zheng

Date: 9 Dec, 2008 14:30:20

Message: 3 of 3

thank you, Lucio.

Regards,
Hao Zheng (Arthur)
ECE, Georgia Tech

"Lucio Andrade-Cetto" <lcetto@nospam.mathworks.com> wrote in message <ghlcbv$dnj$1@fred.mathworks.com>...
> That is correct, however if I am not wrong, it was corrected in 2007b or 2008a, the new mhelp reads now:
>
> STRNCMPI Compare first N characters of strings ignoring case.
> TF = STRNCMPI(S1,S2,N) performs a case-insensitive comparison between the
> first N characters of strings S1 and S2. The function returns logical 1
> (true) if they are the same except for letter case, and returns logical 0
> (false) otherwise.
>
> "Arthur Zheng" <hzheng7@gatech.edu> wrote in message <ghkoob$ric$1@fred.mathworks.com>...
> > Hi,
> > When I type "help strncmpi", it read as follows:
> > __________________________________________________________________
> > TF = STRNCMPI(S1,S2) compares the first N characters of strings S1 and S2 and returns logical 1 (true) if they are the same except for case, and returns logical 0 (false) otherwise.
> > __________________________________________________________________
> > I am wondering if there is a missing of N somewhere in the function parameter list?
> >
> >
> > Regards,
> > Hao Zheng (Arthur)
> > Electrical and Computer Engineering
> > Georgia Institute of Technology

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
strncmpi Arthur Zheng 8 Dec, 2008 22:35:05
bioinformatics Arthur Zheng 8 Dec, 2008 22:35:05
machine learning Arthur Zheng 8 Dec, 2008 22:35:05
dsp Arthur Zheng 8 Dec, 2008 22:35:05
rssFeed for this Thread

Contact us at files@mathworks.com