Where, exactly, do you want to search? If it is in an array, you can loop through the array; for example like this:
boolean found = false;
for (int i = 0; i <= myArray.size && !found; i++)
{
if (myArray[i] = theNumber)
{
found = true
}
}
I didn't test this, and it may have syntax errors, but it should give you the general idea.
Chat with our AI personalities