You are here: PSPad forum > English discussion forum > Re: How to reverse the numbers [Reverse String]?

Re: How to reverse the numbers [Reverse String]?

#1 How to reverse the numbers [Reverse String]?

Posted by: Haunebu | Date: 2021-05-31 11:01 | IP: IP Logged

How to reverse the numbers [Reverse String] in a simple way?
The numbers are located separately on the line.

Example:
23
65
79
91

Result:
32
56
97
19

Edited 1 time(s). Last edit at 2021-05-31 11:07 by Haunebu.

Options: Reply | Quote | Up ^


#2 Re: How to reverse the numbers [Reverse String]?

Posted by: pspad | Date: 2021-05-31 11:16 | IP: IP Logged

You have script what calculates your numbers.
Modify it to reverse lines.

Options: Reply | Quote | Up ^


#3 Re: How to reverse the numbers [Reverse String]?

Posted by: Haunebu | Date: 2021-05-31 11:47 | IP: IP Logged

It kind of works with the input window but only for one string, it needs to be tweaked, modified but no further ideas.

ReverseString.vbs

File:
www97.zippyshare.com

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2021 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR