I'm trying to make a function that will search my array for a certain string and then show all the info about the thing thats on that place in the array...
Hard to explain but I would like to accomplish this.
I have an array with lets say 5 slots.
slot1. sofa
slot2. bed
slot3. toilet
slot4. window
slot5. tomato
and now i would like to search for lets say "to".
and it should check my array and when it reaches slot3 it should show everything in that slot and when it reaches slot5 it should do the same.