Replace

Top  Previous  Next

Function

Parameters

Return value

Replace

string s, 

string oldValue, 

string newValue

string

 

Returns a string "s" in which a specified substring "oldValue" has been replaced with another substring "newValue".

 

Example:

 

Replace("A00", "00", "BC") = "ABC"