TMtxExpression.ExpandCharToWord Method

function ExpandCharToWord(const Src: string; charIdx: Integer): string;

Returns a word from Src string close to charIdx.

#NameTypeDescription
1Srcstring
2charIdxInteger

Returns: String

Remarks:

The function expects one code line in Src parameter and will return the word or the variable which is close to char at charIdx.