Thread: Array Indexes
View Single Post
Old 08-13-2007   #1 (permalink)
Shay Levi


 
 

Array Indexes


The following returns all array items that equels to 3

PS C:\Scripts> @(1,2,3,5,3,2) -eq 3
3
3

How can I get the index numbers instead of the item content (i.e., 2,4)?


Shay
http://scriptolog.blogspot.com


My System SpecsSystem Spec