KenshiroUK
Registered User.
- Local time
- Today, 23:12
- Joined
- Oct 15, 2012
- Messages
- 160
Is it possible to place in a post code if a space does not exist. I played about before and got my code to place a space between characters like this
Left([ship-postal-code],Len([ship-postal-code])-3) & " " & Right([ship-postal-code],3)
However this creates a problem, if a post code has a space already in it, it will now have 2 spaces. Is there anyway to tell it to ignore the post code with space and add a space to any codes without?
Left([ship-postal-code],Len([ship-postal-code])-3) & " " & Right([ship-postal-code],3)
However this creates a problem, if a post code has a space already in it, it will now have 2 spaces. Is there anyway to tell it to ignore the post code with space and add a space to any codes without?