Equivalent of select/remove for Mathematica?

Newbie Q: What is the Maple equivalent of select/remove for Mathematica?

To quote Maple:

A typical application that uses select and remove is to split the factors of a product, e, into those which depend on a variable x and those which do not (that is, constants). This can be accomplished by using v := select(has,e,x); followed by c≔remove(has,e,x). It is more efficient, however, to use v,c≔selectremove(has,e,x)

Thanks

Crossposted here.

Welcome to Wolfram Community!
Please make sure you know the rules: https://wolfr.am/READ-1ST
Please next time link your post to the duplicated one from MSE site.