Trim string values in EditPosition