EControl Syntax Editor SDK
TecRegExpr.MatchLength Method (AnsiString, integer, Boolean)

Matches regular expression to InputString starting at aPos position in InputString.

function MatchLength(const InputString: AnsiString; aPos: integer; Back: Boolean = False): integer; overload;

If matching succeeds Result value is True and aPos indicates first character after matched substring of InputString, otherwise aPos is unchanged. 

Back specifies whether back scanning is used.

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