RightAfterStr Function
Returns the substring consisting of the remaining characters after the first N Characters of S.

Unit
QESBPCSConvert

Declaration
Function RightAfterStr(const S: string; const N: LongWord): string;

Description
Also See: RightStr, RightAfterChStr, LeftStr

Parameters
the String from which the right substring is to be taken.
the number of leading characters to skip. If Length (S) < N then a null string is returned.

Category
Extra String Handling Routines

Implementation

function RightAfterStr (const S: string; const N: LongWord): string;
begin
     Result := Copy (S, N + 1, Int64 (Length (S)) - N); // Return the string remaining after the Nth character
End;


HTML generated by Time2HELP
http://www.time2help.com