'Declaration
<PureAttribute()> Public Overloads Shared Function ReplaceString( _ ByVal stringToSearch As String, _ ByVal oldValue As String, _ ByVal newValue As String, _ Optional ByVal comparison As StringComparison _ ) As String
[Pure()] public static string ReplaceString( string stringToSearch, string oldValue, string newValue, StringComparison comparison )
[Pure()] public: static String^ ReplaceString( String^ stringToSearch, String^ oldValue, String^ newValue, StringComparison comparison )
Parameters
- stringToSearch
- The string to search
- oldValue
- The string to search for
- newValue
- The replacement string
- comparison
- The comparison type to use
Return Value
The string with replacements made