Expression<String> substring(
Expression<String> x,
Expression<Integer> from,
Expression<Integer> len
)
Create an expression for substring extraction. Extracts a substring of given length starting at the specified position. First position is 1.
- Parameters:
x
- string expressionfrom
- start position expressionlen
- length expression
- Return:
- expression corresponding to substring extraction
- Since:
- JPA 2.0