I have a string being returned from a device that has a day in it which could be any day in the form of SUN OR MON OR TUE, etc. I want to replace that with the complete day word, ie SUNDAY OR MONDAY, etc. Here is what I did.
And so on.
Is there a way to do this in one statement instead of 7?