I want to filter points from list

I try to filter points from a list by using “remove if not” node but it returns an empty list, but if I change the string to “Line” it returns lines correctly. What should I do?

try this


Thank you very much

you are welcome, if this helped you please mark as solved