Jump to content

Recommended Posts

Posted

Hi, I'm wondering if there is a way to reverse text from an input and output it backwards.

Example: Input "Hello my name is Kuram!" into the script, and have it output "!maruK si eman ym olleH", case sensitive.

I was thinking it would be easiest to do with a string, but I haven't the foggiest what command to use, and I was looking through the faq.

I would appreciate some pointers please :(.

Thanks in advanced!

Posted

Lookup the _StringReverse function in your best friend (the help file).

  Reveal hidden contents

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted

_StringReverse(). It's in the help file under User Defined Functions >> String Management

#include <String.au3>
Msgbox(0,'',_StringReverse("esreveR"))
Exit

George

  Reveal hidden contents
Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

  On 3/31/2010 at 9:54 PM, 'jchd said:

Lookup the _StringReverse function in your best friend (the help file).

Oh aha thank's a lot :( I guess i missed it when looking through the String functions reference page :)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...