Click or drag to resize

MvOperationsLkExtract(String, Int32, 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,
	int field,
	int value = 0,
	int subvalue = 0
)

Parameters

str  String
The source string from which data is extracted.
field  Int32
The position 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", 1);
String result = MvOperations.LkExtract("CUSTOMER UPDATE 2þADDRESS 2þ444", 1)
See Also