Trim string values to ensure substantive input.