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

Returns sub-expression string.

function GetMatch(const InputString: AnsiString; SubIdx: integer): AnsiString; overload;

If there is no sub-expression with index SubIdx function returns empty string. InputString must be the same as in preceded Match or MatchLength functions.

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