Indy 9
SubStrPos
Determines the position of a string in a pointer to a memory buffer.
Return Value
Integer - Position of the substring, or 0 when not found.
Description
SubStrPos is an Integer function that represents the position of the String data type Substr in the pointer to a character memory buffer specified by MemBuff. If the length of Substr is longer than the value in MemorySize, the return value for the function is 0 (zero).

The return value for SubStrPos is the one-based position of the substring, or 0 when not found.


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