I should probably phase this a bit better.
I have a varible and this can be in either lower or upper case. For me to use this variable it needs to be in upper case. What I would like to achieve is to convert the variable to upper case if it is currently lower case otherwise just use it as it is.
I hope that's better