Share this page

Replace Method
Replaces text. All positions are 0-based.
Remarks
All positions are 0-based.

C# Syntax

    void Replace(
       string text,
       int fromLine,
       int fromCharPos,
       int toLine,
       int toCharPos
    )

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.

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: