Click or drag to resize

DFStringColumnApply(String, FuncString, Boolean) Method

Returns a new column with the given name and size containing the items in this column that evaluate to true using the given logical function.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DFStringColumn Apply(
	string name,
	Func<string, bool> function
)

Parameters

name  String
Name for the new column.
function  FuncString, Boolean
A delegate object representing a function that takes a single string parameter and returns a bool.

Return Value

DFStringColumn
A new column with the given name containing the items in this column that evaluate to true using the given logical function.
Remarks
For example, if you apply a function that returns true if a string starts with "b" to a column containing "banana", "apple", "boat", "car", a new column containing "banana", "boat" is returned.
See Also