You can use CONVERT. DATA1 = "abcde...ABCDE..." (The full alphabet lower case AND uppercase) DATA2 = "ABCDE...abcde..." (Again, full alphabet but now start with uppercase) INPUT DATA.IN DATA.FLIPPED = CONVERT(DATA1,DATA2,DATA.IN)
That should get you what you want. If you want to do something with any other characters, just add them to the list. BobW -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Friday, July 05, 2013 2:50 PM To: u2-users@listserver.u2ug.org Subject: [U2] Flip Case command? Does anyone know of an internal command of any sort that will allow one to flip the case of some input stream ? That is, not just make it all lower case or all upper case, but actually make all lower case input upper, AND at the same time all upper case input lower. That is truly flip the case of each input character ? I'm going to write my own, unless someone has one. Thanks _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users