Strip password string