Table of Contents

Class Trim

Namespace
YndigoBlue.Velocity.Functions
Assembly
YndigoBlue.Velocity.dll

Represents the TRIM string function that removes leading and trailing whitespace.

public class Trim : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
Inheritance
Trim
Implements

Remarks

The TRIM function removes spaces and other whitespace characters from both the beginning and end of a string. The specific whitespace characters removed may vary by database system. This function is useful for cleaning user input and normalizing data.

Constructors

Trim(IElement)

Initializes a new instance of TRIM for any element.

Trim(Column)

Initializes a new instance of TRIM for a column.

Trim(Expression)

Initializes a new instance of TRIM for an expression.