  | MvOperationsLkReplace(String, String, String, String, Int32, Int32) Method | 
Linkar Framework for .NET and Core
            Replaces a field, value or subvalue from a dynamic array, returning the result.
            
Namespace: Linkar.FunctionsAssembly: Linkar.Functions (in Linkar.Functions.dll) Version: 2.3.1
Syntaxpublic static string LkReplace(
	string str,
	string newVal,
	string lstDicts,
	string field,
	int value = 0,
	int subvalue = 0
)
Public Shared Function LkReplace ( 
	str As String,
	newVal As String,
	lstDicts As String,
	field As String,
	Optional value As Integer = 0,
	Optional subvalue As Integer = 0
) As String
public:
static String^ LkReplace(
	String^ str, 
	String^ newVal, 
	String^ lstDicts, 
	String^ field, 
	int value = 0, 
	int subvalue = 0
)
static member LkReplace : 
        str : string * 
        newVal : string * 
        lstDicts : string * 
        field : string * 
        ?value : int * 
        ?subvalue : int 
(* Defaults:
        let _value = defaultArg value 0
        let _subvalue = defaultArg subvalue 0
*)
-> string Parameters
- str  String
 - The string on which you are going to replace a value.
 - newVal  String
 - New value that will be replaced in the indicated string.
 - lstDicts  String
 - Dictionaries list on which the field specified argument will be searched.
 - field  String
 - The dictionary name of the attribute where you want to replace.
 - value  Int32  (Optional)
 - The multivalue position where you want to replace.
 - subvalue  Int32  (Optional)
 - The subvalue position where you want to replace.
 
Return Value
StringA new string with the replaced value.
Examplestring result = MvOperations.LkReplace("CUSTOMER UPDATE 2þADDRESS 2þ444", "MYTEXT", "NAMEþADDRþPHONE", 1,);String result = MvOperations.LkReplace("CUSTOMER UPDATE 2þADDRESS 2þ444", "MYTEXT", "NAMEþADDRþPHONE", 1,)No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also