Implementing strip() on isProperties