Maxwell Morlay Posted April 21, 2005 Posted April 21, 2005 I have imported a file from XL that has many spaces at the end of each piece of data. Can I run a script to get rid of those spaces? Your help is much appreciated. Maxwell Morlay
spb Posted April 21, 2005 Posted April 21, 2005 One such script would be to use a Replace with Calculation for each field: Show All Records Go To Layout (where all fields are visible) Replace Contents [No Dialog, "FieldA", "Trim[FieldA]"] Replace Contents [No Dialog, "FieldB", "Trim[FieldB]"] ... etc. You are replacing the contents of the field with a Trimmed version of the same contents, effectively removing both leading and trailing spaces. Steve Brown
Recommended Posts
This topic is 7159 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now