I have a database that has many fields with trailing spaces. I can easily get rid of the spaces if when the field is like this: (dots=spaces)
Smith.....
(I find the location of the first space then I use the LEFT function to collect all characters up to the "space" location")
space: (InStr([comma],Lname," "))
Lname_no_space: Left([Lname],([space]-1))
But what about this?
North..Carolina.....
Thanks in advance
Smith.....
(I find the location of the first space then I use the LEFT function to collect all characters up to the "space" location")
space: (InStr([comma],Lname," "))
Lname_no_space: Left([Lname],([space]-1))
But what about this?
North..Carolina.....
Thanks in advance