| MvFunctionsLkChange Method |
Text Function that replaces the occurrences of a substring inside a string, by other substring.
Namespace:
LinkarCommon
Assembly:
LinkarClientCOM (in LinkarClientCOM.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax public string LkChange(
string str,
string strOld,
string strNew,
int ocurrence = 0,
int start = 0
)
Public Function LkChange (
str As String,
strOld As String,
strNew As String,
Optional ocurrence As Integer = 0,
Optional start As Integer = 0
) As String
public:
String^ LkChange(
String^ str,
String^ strOld,
String^ strNew,
int ocurrence = 0,
int start = 0
)
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