Re: Delphi strReverse
Posted by Joey *DClub* on July 16, 2004
In Reply to: Re: strReverse posted by keith on July 14, 2004
Okey pokey... to reverse the string you have to have the the StrUtils in the uses section.
And the strReverse is not a function its ReverseString so what you do is...
procedure TForm1.Button1Click(Sender: TObject); var aNumber , S: String; begin S := Edit1.Text; aNumber := Edit1.Text; ShowMessage(Reverse(StringaNumber)); end;
Waaallaaaa! It works ^__^ to encrpy you have to perform lots of functions on a string. Its easy enought to do 1 way encryption but 2 way is a little more difficult look at those links i posted in a earlier post to torry.net and take a look there good for encrypting :)