Compare and Other Functions on String Values

concat(‘un’, ‘grateful’)

from within a Java application, in order to extract the result from the result sequence, one would have to use this code:

String n = ((XSString)rs.first()).stringvalue();
println(n);

In order to get the result of ‘ungrateful’