Indy 9 | Content | Index | Reference

TPosProc
See Also, Unit: IdGlobal
Specifies an integer function type for IndyPos implementation.

    TPosProc = function (const Substr, S: string): Integer;

Unit
IdGlobal
Parameters
S
String to be searched.
Substr
Substring to be located.
Return Value
Integer - Position of the substring in the string, or zero when not found.
Description
TPosProc is an Integer function type used to specify the implementation for the IndyPos function. TPosProc accepts two constant string arguments used as parameters for the IndyPos implementation.

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