Links
EControl Syntax Editor SDK
TSyntMemoStrings.Find Method

Finds a substring in the text.

function Find(var StrtPos: integer; var EndPos: integer; const FindText: ecString; Flags: integer): Boolean;

Find method finds the FindText substring in the FText. If the search is successful the method returns true. StrtPos and EndPos values contain start and end positions of a found substring. Otherwise it returns false, while StrtPos and EndPos remain unchanged.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!