Table of Contents

TatScriptRefactor.SourcePos Method

Retrieve the position of the SubStr in the source code. Search starts from the position indicated by FromPos.

Syntax

Unit: atScript

function TatScriptRefactor.SourcePos(SubStr: string; FromPos: Integer = 1): Integer;

Parameters

<-> Parameter Type Description
SubStr string
FromPos Integer Optional: Default value is 1

See also