
Not applicable
2013-10-15
09:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reverse string
Hi,
the strings at my DB are appear reversed (i.e. 'TAC' instead of 'CAT')
does anybody knows if i can reversed the string without using loops at my script.
Thanks.
J
5,023 Views
1 Solution
Accepted Solutions

Partner - Champion III
2013-10-15
02:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or something like this:
Reversing:
load MyText, concat(Letter,'',-row) as Reversed Group by MyText;
load MyText, iterno() as row, mid(MyText,IterNo(),1) As Letter
Inline [
MyText
Testmystring
SecondTest
AnotherString
] While IterNo() <= len(MyText);
talk is cheap, supply exceeds demand
2 Replies


Partner - Champion
2013-10-15
09:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Below discussion might helps

Partner - Champion III
2013-10-15
02:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or something like this:
Reversing:
load MyText, concat(Letter,'',-row) as Reversed Group by MyText;
load MyText, iterno() as row, mid(MyText,IterNo(),1) As Letter
Inline [
MyText
Testmystring
SecondTest
AnotherString
] While IterNo() <= len(MyText);
talk is cheap, supply exceeds demand
