Extracting Users Initials

Options

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

  • Ray Deck
    Ray Deck Trusted Xano Expert ✭✭✭
    Answer ✓
    Options

    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