rename ends_with to str_ends

not sure if it's a good idea though
list lines