subset function

Extract Parts of an Object