Finding Position in an ordered list
- To: mathgroup at smc.vnet.net
- Subject: [mg57720] Finding Position in an ordered list
- From: janostothmeister at gmail.com
- Date: Mon, 6 Jun 2005 04:21:28 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I wonder if it is possible to use the knowledge
that a list in which I am looking for the position
of an element is ordered. I want a quicker solution then e.g.
lis={ac,dmk,rfg,sty,zxxer}
Position[lis,sty]
I am certainly interested in longer lists...
Thank you,
Janos
- Follow-Ups:
- Re: Finding Position in an ordered list
- From: yehuda ben-shimol <bsyehuda@gmail.com>
- Re: Finding Position in an ordered list