EControl Syntax Editor SDK
ecStrUtils.SearchText Function
function SearchText(const Text: ecString; const SubStr: ecString; FromPos: integer; Backward: Boolean; IgnoreCase: Boolean): integer;


Searches string SubStr in Text starting from position FromPos. Backward specifies direction of search, IgnoreCase - specifies how strings will be compared.

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