@wachterjohannes FYI: if null is passed, then ltrim generates an empty string. Took me some time to find that out when I had to fix a bug a few weeks ago ;-)