StringsExchangeSubString Method
Exchange one substring for another in a text.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static string ExchangeSubString(
string text,
string substringOld,
string substringNew
)
Public Shared Function ExchangeSubString (
text As String,
substringOld As String,
substringNew As String
) As String
- text String
- Initial string.
- substringOld String
- The substring to be replaced.
- substringNew String
- The substring to replace the old substring.
StringString with the text with the specified substring replaced.