New to Telerik Document Processing? Start a free 30-day trial

Search

Class

Locates text within another text string using case-insensitive matching and returns the starting position; implements the SEARCH text function.

Definition

Constructors

Initializes a new instance that locates text within another text string using case-insensitive matching.

C#
public Search()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

Gets metadata about the function including its arguments and category.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

When true, FunctionBase automatically evaluates this function element-wise over any multi-element array argument and returns a spilled array result. Override to true in pure scalar functions (e.g. ABS, LEN, MOD) where applying the function independently to each element of an input array is the correct dynamic-array behavior. Leave false (the default) for reducers.

C#
public override bool LiftsOverArrays { get; }

Overrides: FunctionBase.LiftsOverArrays

Gets the function name used in formulas.

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the SEARCH function with the provided arguments and returns the one-based position where the text is found, or an error if not found.

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<object> context)
Parameters:contextFunctionEvaluationContext<object>Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithArguments.EvaluateOverride(FunctionEvaluationContext<object>)