Trim string.