Thank you for these comments but they don't really solve my problem.
My array of answers has items that should be capitalized and I want to retain the capitalization for future printout and display. The correct answers are in an array because my program allows multiple correct answers to a single question. By using the search_array function I find if the user's answer is one of the acceptable answers and the result is that answer's key within the array. If the result is null I know the answer is incorrect.
Users, however, often ignore capitalization or will enter in all capitals. I am hoping to find a procedure to allow that comparison without altering the capitalization used in the correct answer array.
In my perfect wish list it would also ignore differences in spacing. e.g. "oxygen free copper" and "Oxygen free Copper" and "OXYGEN FREE COPPER" and "Oxygen Free copper" would all be acceptable if the correct answer on file is "Oxygen Free Copper"
I may be asking for too much but this seems like a situation that would come up fairly often. Has anyone else run into this issue.
Brian