| MvFunctionsLkReplace Method (String, String, Int32, Int32, Int32) |
Text Function that replaces a field, value or subvalue from a dynamic array, returning the result.
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 LkReplace(
string str,
string newVal,
int field,
int value = 0,
int subvalue = 0
)
Public Shared Function LkReplace (
str As String,
newVal As String,
field As Integer,
Optional value As Integer = 0,
Optional subvalue As Integer = 0
) As String
public:
static String^ LkReplace(
String^ str,
String^ newVal,
int field,
int value = 0,
int subvalue = 0
)
static member LkReplace :
str : string *
newVal : string *
field : int *
?value : int *
?subvalue : int
(* Defaults:
let _value = defaultArg value 0
let _subvalue = defaultArg subvalue 0
*)
-> string
Parameters
- str
- Type: SystemString
The string on which you are going to replace a value. - newVal
- Type: SystemString
New value that will be replaced in the indicated string. - field
- Type: SystemInt32
The position of the attribute where you want to replace. - value (Optional)
- Type: SystemInt32
The multivalue position where you want to replace. - subvalue (Optional)
- Type: SystemInt32
The subvalue position where you want to replace.
Return Value
Type:
String
A new string with the replaced value.
See Also