Indy 9
FindFirstNotOf
See Also, Example, Unit: IdStrings
Indicates the position where a character not in the search string occurs.
function FindFirstNotOf(AFind: String; AText: String): Integer;
Unit
IdStrings
Parameters
AFind: String
Values to be compared.
AText: String
Data to searched.
Return Value
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.


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