| 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
)
Public Shared Function LkChange (
str As String,
strOld As String,
strNew As String,
Optional ocurrence As Integer = 0,
Optional start As Integer = 0
) As String
public:
static String^ LkChange(
String^ str,
String^ strOld,
String^ strNew,
int ocurrence = 0,
int start = 0
)
static member LkChange :
str : string *
strOld : string *
strNew : string *
?ocurrence : int *
?start : int
(* Defaults:
let _ocurrence = defaultArg ocurrence 0
let _start = defaultArg start 0
*)
-> string
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