Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

I need to manipulate some text.

$
0
0
I need to know if there is a way to manipulate some text that I copied from a webpage. I thought maybe there was a way with Excel, but I figured I'd learn something with Autoit in the process.

http://cheats.codetwink.com/ps2/view/4521/2/

Basically if you copy the description and code from that webpage and paste it into notepad it becomes something like:

blah blah blah xxxxxxxx xxxxxxxx
yyyyyyyy yyyyyyyy

But I need it to be formatted such as below:

blah blah blah
xxxxxxxx xxxxxxxx
yyyyyyyy yyyyyyyy

Or sometimes it may be like this:

blah blah blah xxxxxxxx xxxxxxxx
yyyyyyyy yyyyyyyy
zzzzzzzz zzzzzzzz

But ultimately it still needs to be like this:

blah blah blah
xxxxxxxx xxxxxxxx
yyyyyyyy yyyyyyyy
zzzzzzzz zzzzzzzz


Essentially, if you notice, all that needs to be done is to do a line break before the X's and everything else will appear to be good to go.

If you have a different method that may be easier, that doesn't require pasting to notepad or anything, then feel free to do it your way instead of mine.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>