Reply
Reply | Flag | Categorize
Xeda Elnara 07 Feb 2013 19:56
Xeda Elnara

Moderator

FA

Guest
.2length(Str1→B
For(A,1,B
0
For(C,-4,0
2Ans+expr(sub(Str1,5A+C,1
End
Str1+sub("ZYXWVUTSRQPONMLKJIHGFEDCBA",Ans-5,1→Str1
End

I am sure there is a faster and smaller way, but I think that works (I didn't test it).

Attachment:

Make a reply:

To use the style buttons, click on the one you want, then press Ctrl+V.


This is the Redirect module that redirects the browser directly to the "http://snippets.wdfiles.com/local--code/code:url-title-with-slash-redirect/2#http://tibasicdev.wikidot.com/post:111" page.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.