Table of Contents

Constructor Substring

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

Substring(Column, int, int)

Initializes a new instance of SUBSTRING with literal start position and length.

public Substring(Column stringColumn, int start, int length)

Parameters

stringColumn Column

The string column to extract from.

start int

The starting position (indexing varies by database).

length int

The number of characters to extract.

Substring(Column, Column, Column)

Initializes a new instance of SUBSTRING with column-based start position and length.

public Substring(Column stringColumn, Column startColumn, Column lengthColumn)

Parameters

stringColumn Column

The string column to extract from.

startColumn Column

The column containing the starting position.

lengthColumn Column

The column containing the length.

Substring(Column, int, Column)

Initializes a new instance of SUBSTRING with literal start position and column-based length.

public Substring(Column stringColumn, int start, Column lengthColumn)

Parameters

stringColumn Column

The string column to extract from.

start int

The starting position.

lengthColumn Column

The column containing the length.

Substring(Column, Column, int)

Initializes a new instance of SUBSTRING with column-based start position and literal length.

public Substring(Column stringColumn, Column startColumn, int length)

Parameters

stringColumn Column

The string column to extract from.

startColumn Column

The column containing the starting position.

length int

The number of characters to extract.

Substring(Expression, int, int)

Initializes a new instance of SUBSTRING for a string expression with literal parameters.

public Substring(Expression stringExpression, int start, int length)

Parameters

stringExpression Expression

The string expression to extract from.

start int

The starting position.

length int

The number of characters to extract.