Click or drag to resize

MvOperationsLkExtract(String, String, String, Int32, Int32) Method

Linkar Framework for .NET and Core


Extracts a field, value or subvalue from a dynamic array.

Namespace: Linkar.Functions
Assembly: Linkar.Functions (in Linkar.Functions.dll) Version: 2.3.1
Syntax
public static string LkExtract(
	string str,
	string lstDicts,
	string field,
	int value = 0,
	int subvalue = 0
)

Parameters

str  String
The source string from which data is extracted.
lstDicts  String
Dictionaries list on which the field specified argument will be searched.
field  String
The dictionary name of the attribute to extract.
value  Int32  (Optional)
The multivalue position to extract.
subvalue  Int32  (Optional)
The subvalue position to extract.

Return Value

String
A new string with the extracted value.
Example
string result = MvOperations.LkExtract("CUSTOMER UPDATE 2þADDRESS 2þ444","NAMEþADDRþPHONE", 1);
String result = MvOperations.LkExtract("CUSTOMER UPDATE 2þADDRESS 2þ444","NAMEþADDRþPHONE", 1)
See Also