Is there a "strrev" function which mirrors the text?
Options
Stefan Pointecker
Member ✭
I have a number let say 12345 and I want to revert the order of chars so that the result would be 54321 - any way to achieve this?
Comments
-
Alright, nevermind, I got it.
I just splitted the number/text without seperator. Then I can loop through and just fill up a new array with the prepend array filter!
Easy as that. -
It can be easier. 3 filters. Split with no separator, reverse, join with no separator
-
Interesting! I was looking for such a filter but couldn't find it. Will update my function stack
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