greter then equal in 'endsWith' function