Extracting Users Initials
Options
Rory
Member ✭
What's the best way to extract a users initials when they signup?
Inputs will have first_name and last_name.
Also, is there a way to ensure the first letter of their names is capitalized?
Best Answer
-
There is a substr filter in Xano you can apply to each of those inputs to transform "ray" into "r". And then you can stack a to_uppercase filter on that so that "ray" becomes "R".
This is a great use case for the function stack - set up your variables there before updating the database. This is where Xano really shines!
Answers
-
Thanks @Ray Deck, is this what you mean?
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