combit List & Label 30 - .NET Help
combit.Reporting.Dom Namespace / ProjectBase Class / Replace Method / Replace(String,String,LlFindAndReplaceOptions) Method

The string to be replaced.

The string to replace all occurrences of oldValue.

Specifies which LlFindAndReplaceOptions should be applied for the operation.



Replace(String,String,LlFindAndReplaceOptions) Method

Replaces all occurrences of Parameter oldValue with Parameter newValue with additional options.

Syntax
'Declaration
 
Public Overloads Function Replace( _
   ByVal oldValue As String, _
   ByVal newValue As String, _
   ByVal options As LlFindAndReplaceOptions _
) As Integer
 

Parameters

oldValue

The string to be replaced.

newValue

The string to replace all occurrences of oldValue.

options

Specifies which LlFindAndReplaceOptions should be applied for the operation.

Return Value

Count of replaced values.

Remarks

The event ReplaceHit is invoked by each hit in replacement operation.

Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also