cancel
Showing results for 
Search instead for 
Did you mean: 

Reversing all characters within a string

andrew_doman
Level 3
Hello, I was wondering whether there was a utility/code/logic flow that can reverse the string of characters in either a text data item or column? Basically I am trying to reverse for example, the alphabet Data Item 1 ABC (etc etc) and then have it reversed Data Item 2 CBA (etc etc) I have played around with string utility, and tried to come up with some convoluted logic flow that puts all the text into a collection and then separates each character into a separate field, however I can't quite get the logic right. Any assistance is appreciated. Regards Andrew
3 REPLIES 3

John__Carter
Staff
Staff
Create a code stage like Output = Microsoft.VisualBasic.StrReverse(Input)

andrew_doman
Level 3
Thanks again, John, Surprisingly very simple, and worked on first attempt.

andrew_doman
Level 3
Thanks again, John, Surprisingly very simple, and worked on first attempt.