Trimming string property value