I need to somehow be able to recognize when a user has input a city that has some sort of abbreviation, like St Paul, and change it to Saint Paul before it gets input into the program I’m using, because St paul is not in the database, but Saint Paul is.
So I have my variable “city”. How do I go about filtering this issue I’m having?
I may have to do this for multiple cities as well, but I don’t know what exactly is in the database, so it’s going to be a case by case issue.
So I will probably have to add other cities to filter out abbreviations in the future.
Any ideas on the best way to go about doing this?