UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
Replace Method
The text that replaces the existing text.
The line in which the replacement starts.
The character position at which the replacement starts in the first line, inclusive.
The line in which the replacement ends.
The character position at which the replacement ends in the last line, inclusive.
Replaces text. All positions are 0-based.
Remarks
All positions are 0-based.
Syntax

Parameters

text
The text that replaces the existing text.
fromLine
The line in which the replacement starts.
fromCharPos
The character position at which the replacement starts in the first line, inclusive.
toLine
The line in which the replacement ends.
toCharPos
The character position at which the replacement ends in the last line, inclusive.