Return only the first n characters of a text

Options

Hi,

I have to trim this description text so that it returns only the first 92 characters. How can I do that?

Also, if I needed to return the last 92 characters how could I do that?


Thanks!

Tagged:

Best Answer

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

    The substr filter will give you what you need. You can learn about it and other Xano text filters here: https://docs.xano.com/working-with-data/data-type-filters/text-filter