JCL Help:StrRestOf@AnsiString@SizeInt

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the remainder of a string starting at the specified index.


Pascal

 function StrRestOf(const S: string; N: SizeInt): string;
function StrRestOf(const S: AnsiString; N: SizeInt): AnsiString;


Parameters

Parameters Description
const S: string The source string from which to copy.
N: SizeInt The starting index of the characters to copy.


Return Value

The remainder of the string starting at the specified index.


Description

StrRestOf returns the remainder of the the string starting at index N. For example, StrRestOf('Project JEDI', 9) returns 'JEDI' (index 9 through Length(S)).


About

Unit

JclAnsiStrings


Donator

Anthony Steele


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