Boolean Compression in q?

In APL the / operator performs the work of the q function over as well as Boolean compression.

E.g.

     1 0 1 0 1 / “hello”

hlo

Is there similar functionality in q to compress a list with 10101b?

I know the same functionality can probably be achieved with where and indexing, but wasn’t sure if I was missing something.

Thanks for any replies.

A simple “where” will do:

q)"hello"where 10101b"hlo"

Flying,

Thank you for the quick reply.  Boolean compression is such a common operation in APL, I just wanted to make sure I wasn’t missing an operator or built-in function in q.

Regards,

Erik