Is trimming a 0 not possible?
Options
![Brandon Hassler](https://us.v-cdn.net/6037124/user_avatars/4585463.jpg)
Brandon Hassler
Member ✭
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?
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
-
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]
-
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.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback