TTMSFNCUtils.VarPosNoCase Method
Case-insensitive variant of
VarPos: finds the first occurrence ofASubValueinAValueand stores the result.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class function VarPosNoCase(ASubValue, AValue: string; var AResult: Integer): Integer;
Parameters
| Name | Description |
|---|---|
ASubValue |
Substring to search for (matched case-insensitively). |
AValue |
String to search within. |
AResult |
Receives the 1-based character index of the match, or 0 if not found. |
Returns
The 1-based position of the match, or 0 if not found.