Hi all, would like to check whether there is a built-in function in Visual Basic Studio 2005 that can search through the contents of an array and return the index?
Currently, I'm using a 'for loop' to search through the items in the array one by one and it is rather slow. I'm doing a vigenere cipher program which takes in a text file containing encrypted text and is able to guess the keyword which was used during encryption. The code works but for each letter in the paragraph, it loops for 26 times to find the matching alphabet.
Please advice. Thanks.