简体   繁体   中英

How can I use the ReverseString function in Delphi2009?

Delphi2009中如何使用ReverseString函数?

I don't know anything about Delphi, but a simple google search for "ReverseString Delphi 2009" would have led you to this answer:

var s : string;

s:='ABOUT DELPHI PROGRAMMING';
s:=ReverseString(s);

//s='GNIMMARGORP IHPLED TUOBA'
// this code is from about.com

So, I'm assuming you're encountering other problems?

@Pax - I'm using it for a teleprompter program for a friend. Not sure what other uses there are, but that's the one I've found for it. I was elated to find a built-in function so I didn't have to do it myself... :-)

I wrote a function for that on my ZX Spectrum ages ago to find words that rhymes. Reversing words and then sorting them will give decent results, at least in Swedish.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM