endsWith Not working for me.

I still think "% 10" is a much simpler solution.