Sign in Join
FPDoc Onlineexperiment

AnsiReverseString function

In unit StrUtils

Reverse the letters in a string.

Declaration

pascal
function AnsiReverseString(const AText: AnsiString): AnsiString

Arguments

AText

String to reverse.

Function result

Reversed string.

Description

AnsiReverseString returns a string with all characters of AText in reverse order.

if the result of this function equals AText, AText is called a palindrome.

Errors

None.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.