I have a string like "I want the reverse case for every LETTER in this string". I want to convert the case of the words in this string in a way that I get letters in lower case in upper case and vice versa.I want my output to read " i WANT THE REVERSE CASE FOR EVERY letter IN THIS STRING" . I want to do this using PIG and HIVE, both. Can I achieve it without using a UDF. Can somebody help me out here ?