Indy 9 | Content | Index | Reference

RightStr
Unit: IdGlobal
Returns the right-most part of a string.

    function RightStr(const AStr: String; Len: Integer): String;

Unit
IdGlobal
Parameters
const AStr: String
The value to be examined.
Len: Integer
The number of characters to be returned.
Return Value
String - The right-most part of the string.
Description
RightStr is a String function used to return to the right-most portion of the string AStr consisting of the number of characters in Len. When Len is larger than the length of the string or Len is 0, the unmodified value of the string is returned.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.