Locates the position where any of the characters in a search string occur in a string value.
function FindFirstOf( AFind: String; AText: String ): Integer;
Parameters |
Description |
AFind |
Values to be compared. |
AText |
Data to searched. |
Integer - Position where a search string character was located.
FindFirstOf is an Integer function that locates the position in AText where any one of the characters in AFind can be found. FindFirstOf will iteratively search for each character in AFind until all characters in AFind have compared to AText. The return value will contain the lowest index position for any of the characters in AFind, or 0 when none of the characters in AFind occur in AText.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |