Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Position on a List

  • To: mathgroup at
  • Subject: [mg12906] Re: [mg12845] Position on a List
  • From: BobHanlon at
  • Date: Wed, 24 Jun 1998 03:44:29 -0400
  • Sender: owner-wri-mathgroup at

Use a level specification (see on-line Help):

Position[{1/A, A}, A, {1}]

Bob Hanlon

In a message dated 6/17/98 1:19:15 AM, iaguirre at wrote:

>Supposed  a list:
>{1/A, A}
>When I do:   Position[{1/A, A}, A]
>I obtain:    {{1,1},{2}}
>But I would like to obtain only :  {{2}}

  • Prev by Date: characterencoding
  • Next by Date: NDSolve
  • Previous by thread: Re: Position on a List
  • Next by thread: RE: Position on a List