Internet Direct (Indy) Version 9.0.2 Beta
FindFirstNotOf
Indicates the position where a character not in the search string occurs.

function FindFirstNotOf(AFind: String; AText: String): Integer;
Parameters
AFind: String
Values to be compared.

AText: String
Data to searched.

Returns
Integer - Position in AText where a character not AFind occurs.

Description
FindFirstNotOf is an Integer function that determines the position in AText that contains a character value other than the characters indicated in AFind.

When AFind is an empty string, the return value is set to 1.

When AText is an empty string, the return value is set to 0.

FindFirstNotOf examines the characters at each position in AText, starting at 1, and continues until the length of AText or until the character occurs in AFind.