Table of Contents

Class TrimRight

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

Represents the RTRIM (right trim) string function that removes trailing whitespace.

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

Remarks

The RTRIM function removes spaces and other whitespace characters from the end of a string, leaving leading whitespace intact. This is useful for removing padding while preserving indentation or other leading formatting.

Constructors

TrimRight(IEnumerable<IElement>)

Initializes a new instance of RTRIM for multiple elements.

TrimRight(IElement)

Initializes a new instance of RTRIM for a single element.