This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Try using the Dynamic Rename tool! You can select the fields you want to trim, and then use the formula Trim([_CurrentField_]) to remove leading/trailing whitespace, or Regex_Replace([_CurrentField_],"\s","") to replace all whitespace in your Header names.
The Dynamic Rename tool has a ton of other great functionality as well, such as renaming your columns with the values in your first row of data (I use that one all the time), or converting columns that are formatted as dates to other date formats.