Click or drag to resize

MvOperationsLkCount Method

Linkar Framework for .NET and Core


Counts the occurrences of a substring inside a string.

Namespace: Linkar.Functions
Assembly: Linkar.Functions (in Linkar.Functions.dll) Version: 2.3.1
Syntax
public static int LkCount(
	string str,
	string delimiter
)

Parameters

str  String
Source string of delimited fields.
delimiter  String
The separator character(s) used to delimit fields in the string.

Return Value

Int32
The number of occurrences found.
Example
int result = MvOperations.LkCount("CUSTOMER UPDATE 2þADDRESS 2þ444", "þ");
Integer result = MvOperations.LkCount("CUSTOMER UPDATE 2þADDRESS 2þ444", "þ")
See Also