EControl Syntax Editor SDK
ecStrUtils.ecPosEx Function

Returns the index value of the first character in a specified substring that occurs in a given string.

function ecPosEx(const SubStr: ecString; const S: ecString; Offset: Cardinal = 1): Integer;


Searches for a substring, Substr, in a string, S, starting form Offset position. Substr and S are string-type expressions.

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