Hi All,
Attempting to search a vector for an occurance of an account number. I have an account stored to my variable acct. Can someone show me how to search a vector for a specified item?
Any help here would be most appreciate.
TIA,
Tim
Attempting to search a vector for an occurance of an account number. I have an account stored to my variable acct. Can someone show me how to search a vector for a specified item?
Code:
for(int k = 0; sortDebitRec.size() > k; k++) {
System.out.println("HERE 2 " + acct);
****Attempting the search here....
if(sortDebitRec.contains(acct)) {
System.out.println("HERE 3");
}
}
Any help here would be most appreciate.
TIA,
Tim