Support 805.461.7300
Sales
Our Technology. Your Success.

Remove Leading Zeros from Address

Description

This command will remove any leading zeros from the address field, e.g. 000345 Main St will convert to 345 Main St. More examples appear below.

The Command At Work

Before Command After Command
Before running command
Before running command

The Command

Copy this command, then paste it into the large text area of the command window:

Replace address with alltrim(str(val(left(address,at(" ",address)))))+substr(address,at(" ",address)) for left(address,1)="0"

After clicking RUN, the leading zeros in the address field will be stripped from the field, and the remainder of the address information will be left justified. Your addresses will now be ready for validation.

« Back to Commands

I was looking for an easy to use all-in-one postal software solution and was working with Satori Software. They quoted me $10,000.00 which was out of the realm of our budget. I was also lead to believe that they were the only solution, until I found Accuzip. I was able to save my company over $9,000.00 with one phone call to your courteous and knowledgeable sales staff. Your product does everything that we need and much much more. Thank you Accuzip!
J.S., Newark, OH