Click or drag to resize

MvFunctionsLkChange Method

Text Function that replaces the occurrences of a substring inside a string, by other substring.

Namespace:  LinkarCommon
Assemblies:   LinkarClientCore (in LinkarClientCore.dll) Version: 2.1.0.0
  LinkarClientMono (in LinkarClientMono.dll) Version: 2.1.0.0 (2.1.0.0)
  LinkarClient (in LinkarClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
public static string LkChange(
	string str,
	string strOld,
	string strNew,
	int ocurrence = 0,
	int start = 0
)

Parameters

str
Type: SystemString
The string on which the value is going to change.
strOld
Type: SystemString
The value to change.
strNew
Type: SystemString
The new value.
ocurrence (Optional)
Type: SystemInt32
The number of times it will change.
start (Optional)
Type: SystemInt32
The position from which you are going to start changing values.

Return Value

Type: String
A new string with replaced text.
See Also