JCL Help:StrReverseInPlace@AnsiString

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Reverses a string.


Pascal

 procedure StrReverseInPlace(var S: string);
procedure StrReverseInPlace(var S: AnsiString);


Parameters

Parameters Description
var S: string The string to reverse.


Description

StrReverse reverses S. That is, if you pass in 'Delphi' then after the function returns S contains the string 'ihpleD'. If you need to retain the original string then use the StrReverse function instead.


See Also

StrReverse


About

Unit

JclAnsiStrings


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page