StringsExchangeSubString Method

Exchange one substring for another in a text.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static string ExchangeSubString(
	string text,
	string substringOld,
	string substringNew
)

Parameters

text  String
Initial string.
substringOld  String
The substring to be replaced.
substringNew  String
The substring to replace the old substring.

Return Value

String
String with the text with the specified substring replaced.

See Also