Implement vec.starts_with()/ends_with()