ObjectDB ObjectDB

substring(x, from) - JPA CriteriaBuilder's method

Create an expression for substring extraction. Extracts a substring starting at the specified position through to end of the string. First position is 1.
Parameters:
x - string expression
from - start position
Returns:
expression corresponding to substring extraction
Since:
JPA 2.0