| 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DFStringColumn Apply(
string name,
Func<string, bool> function
)
Public Function Apply (
name As String,
function As Func(Of String, Boolean)
) As DFStringColumn
public:
DFStringColumn^ Apply(
String^ name,
Func<String^, bool>^ function
)
member Apply :
name : string *
function : Func<string, bool> -> DFStringColumn
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