LSPS comes with many useful functions in its Standard Library as well as other libraries. However, if no appropriate function is available, you can implement your own functions either in the Expression Language or in Java:
Functions are called by their name followed by their parameters:
<FUNCTION_NAME>(<FUNCTION_PARAM1>, <FUNCTION_PARAM2>)