[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Search string in cell string?
From: |
Olaf Till |
Subject: |
Re: Search string in cell string? |
Date: |
Tue, 6 Dec 2011 18:55:28 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Tue, Dec 06, 2011 at 11:54:03AM -0500, Jordi Gutiérrez Hermoso wrote:
> 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.
Have you looked at the 'lookup' function?
Olaf