Help with filtering an array using endsWith

@Ahmad I just figured out my issue. the “endsWith” is case sensitive. I read in the API reference that “endsWith” isn’t case sensitive, but maybe that’s just when doing a query as opposed to a filter?

Thanks!!!