Sign in to follow this  
Followers 0
bwbwbw

Text reverse script

5 posts in this topic

hello everyone,

I'm kinda new to auto-it, but really need a program that reverses text. for example:

hello turns to olleh.

i would really appreciate if anyone can help me.

Thanks in advance. :)

Share this post


Link to post
Share on other sites



hello everyone,

I'm kinda new to auto-it, but really need a program that reverses text. for example:

hello turns to olleh.

i would really appreciate if anyone can help me.

Thanks in advance. :)

as in _StringReverse() ?

:P


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

yeah, that's easy. but what about a full text?

Share this post


Link to post
Share on other sites

Asign the entire text to one string, spaces and all, then use StringReverse()

Share this post


Link to post
Share on other sites

Apply _StringReverse to every line of the text. Split the text by StringSplit, with second parameter set to @CRLF. You can probably find examples of this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0