Table of Contents

Class TrimLeft

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

Represents the LTRIM (left trim) string function that removes leading whitespace.

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

Remarks

The LTRIM function removes spaces and other whitespace characters from the beginning of a string, leaving trailing whitespace intact. This is useful for left-aligning text or removing indentation while preserving formatting at the end of strings.

Constructors

TrimLeft(IEnumerable<IElement>)

Initializes a new instance of LTRIM for multiple elements.

TrimLeft(IElement)

Initializes a new instance of LTRIM for a single element.