Table of Contents

Class Left

Namespace
Albatross.Expression.Prefix
Assembly
Albatross.Expression.dll

Prefix operation that return the substring of the input text with the specified length and start index of 0

Operand Count: 2

Operands

  1. input: string
  2. count: double

Output Type: string

Usage: Left("test", 1) should return "t"

public class Left : PrefixExpression, IPrefixExpression, IExpression, IToken
Inheritance
Left
Implements
Inherited Members
Extension Methods

Constructors

Left()

public Left()

Methods

Run(List<object>)

Executes the prefix function with the evaluated operand values. Derived classes should override this method to implement specific function logic.

protected override object Run(List<object> operands)

Parameters

operands List<object>

The list of evaluated operand values.

Returns

object

The result of the function.