Class Left
Prefix operation that return the substring of the input text with the specified length and start index of 0
Operand Count: 2
Operands
- input: string
- count: double
Output Type: string
Usage: Left("test", 1) should return "t"
Inheritance
System.Object
Left
Assembly: Albatross.Expression.dll
Syntax
public class Left : PrefixOperationToken, IToken
Properties
MaxOperandCount
Declaration
public override int MaxOperandCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
MinOperandCount
Declaration
public override int MinOperandCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Name
Declaration
public override string Name { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Symbolic
Declaration
public override bool Symbolic { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
EvalValue(Func<String, Object>)
Declaration
public override object EvalValue(Func<string, object> context)
Parameters
Type |
Name |
Description |
System.Func<System.String, System.Object> |
context |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Implements
Extension Methods