help-octave
[Top][All Lists]
Advanced

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

strmatch question


From: seektime
Subject: strmatch question
Date: Mon, 30 Jan 2012 12:34:58 -0800 (PST)

Hi All,

I'm wondering about the output of "strmatch". (windows installer, mingw,
Octave ver. 3.4.3)

While this is as described in the manual:

> strmatch('apple', 'apple juice')
ans = 1


this is somewhat unexpected:

> strmatch('juice', 'apple juice')
ans = [](0x0)

Shouldn't it be "7"?

Thanks,
Michael

--
View this message in context: 
http://octave.1599824.n4.nabble.com/strmatch-question-tp4342467p4342467.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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