XlsRange
TextPartReplace Method
|
Replaces cell's part text and reserve text's format.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void TextPartReplace(
string oldPartValue,
string newPartValue
)
Public Sub TextPartReplace (
oldPartValue As String,
newPartValue As String
)
public:
void TextPartReplace(
String^ oldPartValue,
String^ newPartValue
)
member TextPartReplace :
oldPartValue : string *
newPartValue : string -> unit
Parameters
-
oldPartValue
-
Type:
System
String
Part value of cell's text to search for.
-
newPartValue
-
Type:
System
String
The replacement value.
See Also