ClassTrim
Removes extra spaces from text, leaving only single spaces between words; implements the TRIM text function.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Trim : StringsInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<string>StringsInFunctionTrim
Inherited Members
Constructors
Trim()
Initializes a new instance that removes extra spaces from text, leaving only single spaces between words.
Declaration
public Trim()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Gets metadata about the function including its arguments and category.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<string>)
Evaluates the TRIM function with the provided arguments and returns the text with extra spaces removed.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<string> context)
Parameters
context
Returns
Functions result as RadExpression.
Overrides