Class Length
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Represents the LENGTH string function that returns the number of characters in a string.
public class Length : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
- Inheritance
-
Length
- Implements
Remarks
The LENGTH function counts the number of characters in a string value, excluding trailing spaces in some database systems. This function is useful for validation, truncation detection, and data quality checks.
Constructors
- Length(IEnumerable<IElement>)
Initializes a new instance of LENGTH for multiple elements.
- Length(IElement)
Initializes a new instance of LENGTH for a single element.