Reversing all characters within a string
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-08-17 11:50 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-08-17 01:39 PM
Create a code stage like Output = Microsoft.VisualBasic.StrReverse(Input)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-08-17 11:51 AM
Thanks again, John,
Surprisingly very simple, and worked on first attempt.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-08-17 11:51 AM
Thanks again, John,
Surprisingly very simple, and worked on first attempt.
