Is trimming a 0 not possible?

Options
I've been trying to use the ltrim filter for the past hour to trim the following text value:

0840006609841

I simply want to remove that first "0" from the left side. I've tested other ltrim values and it all worked, but when I try to trim a 0 (zero) it seems Xano ignores it.

Am I doing something wrong?

Comments

  • Brandon Hassler
    Options
    Well, I don't know why I never tested this earlier, but the solution ended up being putting the 0 in quotation marks 🤦‍♂️[image.png]
  • Sean Montgomery
    Sean Montgomery Administrator

    ADMIN

    Options
    The mask is a list of characters so there should be no difference between "0" or 0 since they both include 0.

    I just tested this with both masks and it seemed to work. It sounds like it is working for you now but if you run into it again let us know.