Skip to content

ReplaceAll Method

Description

Replaces all occurrences of szFindText with szReplaceText.

Syntax

Public Function ReplaceAll( _
    ByVal [szFindText] As String, _
    ByVal [szReplaceText] As String, _
    ByVal [bMatchWholeWord] As Boolean, _
    ByVal [bMatchCase] As Boolean _
) As Long

Parameters

  • szFindText [in]: Pointer to text to find.
  • szReplaceText [in]: Pointer to text which will replace.
  • bMatchWholeWord [in]: Boolean flag to match whole word.
  • bMatchCase [in]: Boolean flag to match case.

Return Type

The number of found matches.

See Also


See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.