help-octave
[Top][All Lists]
Advanced

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

Search string in cell string?


From: Jordi Gutiérrez Hermoso
Subject: Search string in cell string?
Date: Tue, 6 Dec 2011 11:54:03 -0500

How can you get the index of where in a cell string a specified search
term occurs, if it does at all?

Assuming the cell string were ordered, you could binary search. But
how can you compare strings ASCIIbetically? The strcmp function only
gives you equality or not, not order.

So what can be done?

- Jordi G. H.


reply via email to

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