@wachterjohannes FYI: When null is passed, ltrim generates an empty string, what can lead to confusing error messages. Took me some time to figure that when I was hunting a bug a few weeks ago ;-)