Syncfusion.XlsIO.Base
Example 


The string to be replaced.
The string to replace all occurrences of oldValue.

Replace(String,String) Method

Replaces string with the specified string value.
Syntax
'Declaration
 
Overloads Sub Replace( _
   ByVal oldValue As String, _
   ByVal newValue As String _
) 
'Usage
 
Dim instance As IWorksheet
Dim oldValue As String
Dim newValue As String
 
instance.Replace(oldValue, newValue)
void Replace( 
   string oldValue,
   string newValue
)

Parameters

oldValue
The string to be replaced.
newValue
The string to replace all occurrences of oldValue.
Example
The following code snippet illustrates how to replace the string with another string.
string oldValue = "Find";
string newValue = "NewValue";
sheet.Replace(oldValue, newValue);
AssemblyVersion

Syncfusion.XlsIO.Base: 16.4460.0.40

See Also