Extract function

Extract or Replace Parts of a clifford