Customer Portal

left(string, count) returns empty/null

Comments 1

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    I've created an issue for the problem (http://bug.cloveretl.org/view.php?id=5861) in our bug tracking system. As a workaround you can use function left(string input, integer length, boolean spacePad), that returns prefix of the specified length, but if input string is shorter than specified length and 3th argument is true, right side of result is padded with blank spaces so that the result has specified length. With the false value of 3rd argument, the function works as function left(string input, integer length) should work.

Please sign in to leave a comment.