Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: threepwood
  • Content: Threads
  • Order by date
  1. threepwood

    Find array index

    Hi, I would like to take the index from an array, if I know the value. E.g. I have the array: @var = (a,b,c,d,e); and I would like to know the position of the element 'c' into the array (i.e. 3). Is there any way to get this one with 'grep' or another function? Salu2 and thanks in advance...

Part and Inventory Search

Back
Top