How to check if a string ends in a quotation mark?

Options

I have a string that both starts and ends with quotation marks.

When I use the starts_with function, it correctly identifies that the string starts with a quotation mark.

But when I use the ends_with function, it does not find that the string ends with a quotation mark.

Everything looks set up alright. I wonder if this is a bug?

Answers

  • Pawel Magdanski
    Pawel Magdanski Member ✭✭✭
    Options

    I checked and it seems to work for me. Are you sure that there are no spaces or other invisible signs at the end, or maybe instead of the quotation mark you have a double ' ' . I would check those first because the filter itself seems to work fine