Skip to content

Reset_Replace - DfBaseEdit

Causes the next replace to search from the start of the text.

Type: Procedure

Syntax

Procedure Reset_Replace

Call Example

Send Reset_Replace

Description

Reset_Replace clears the internal "last search/replace" marker, causing the next Replace to search from the start of the text.

procedure DoReplace string sOldText string sNewText
    send Reset_Replace // start from top of buffer
    send Replace sOldText sNewText
end_procedure