Class SubstringExpressionStateObject

  • All Implemented Interfaces:
    StateObject

    public class SubstringExpressionStateObject
    extends AbstractTripleEncapsulatedExpressionStateObject
    The second and third arguments of the SUBSTRING function denote the starting position and length of the substring to be returned. These arguments are integers. The first position of a string is denoted by 1. The SUBSTRING function returns a string.

    JPA 1.0:

    BNF ::= SUBSTRING(string_primary, simple_arithmetic_expression, simple_arithmetic_expression)

    JPA 2.0:
    BNF ::= SUBSTRING(string_primary, simple_arithmetic_expression [, simple_arithmetic_expression])

    Since:
    2.4
    Version:
    2.4
    Author:
    Pascal Filion
    See Also:
    SubstringExpression