JCL Help:StrAfter@AnsiString@AnsiString
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: StrAfter Function
[+] JclAnsiStrings.pas Functions
Search in JCL Help
Search in all projects
Summary
Returns the portion of the string after a specific sub-string.
Pascal
function StrAfter(const SubStr: string; const S: string): string;
function StrAfter(const SubStr: AnsiString; const S: AnsiString): AnsiString;
Parameters
Parameters | Description |
const SubStr: string | The sub-string to search for. |
const S: string | The source string. |
Return Value
The portion of the string after the specified sub-string. If the sub-string does not appear in the source string the result is an empty string.
Description
The StrAfter routine returns that portion of the specified string that appears after a specified sub-string. For example, StrAfter('Hello', 'Hello world') returns the string ' world'.
See Also
About
Unit
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