2
Reply

searching an array of classes

chris

chris

Oct 3 2007 9:57 AM
2.3k

I have an array of classes.  Each class contains two values (UserName, and UserID).

I need to search the array such as "give my the ID for username Bob Smith."

Other than looping through each value in the array, is there another way I can search it such as searcharray(username, "Bob Smith")?


Answers (2)