I need to what I could use to find out what number an item in a list is, such as:
var/list/ListOfStuff contains:
Thingy
Doodad
Whatchamacallit
Thingamabober
Whippersnapper
Dohickey
Thingamajig
So, ListOfStuff[1] = "Thingy", and ListOfStuff[5] = "Whippersnapper", but how do I find out what number "Thingamajig" is?
ID:179274
Jan 25 2002, 2:48 pm
|
|
Jan 25 2002, 2:53 pm
|
|
Use ListOfStuff.find()
|