trim(ts, t, x) - JPA CriteriaBuilder's method

Create expression to trim character from a string.
Parameters:
ts - trim specification
t - character to be trimmed
x - expression for string to trim
Returns:
trim expression
Since:
JPA 2.0