find(src, text)
Find the first index within src that text occurs, else returns -1.
I have slots in a list.
Slot = "Head,Chest,Gloves,Belt,Legs,Boots,Back,Ring1,Ring2,Neck"
I was under the impression that find(Slot,Gloves) would return 2 as a value, but instead of giving me Gloves position, it's giving me a total number of characters... TOTALLY not what I need.
Does anyone have a suggestion of how I could pull a number from a search into this list?