Click or drag to resize

MvFunctionsLkReplace Method (String, String, String, String, 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,
	string lstDicts,
	string field,
	int value = 0,
	int subvalue = 0
)

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.
lstDicts
Type: SystemString
Dictionaries list on which the field specified argument will be searched.
field
Type: SystemString
The dictionary name 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