Support 805.461.7300
Our Technology. Your Success.

Standardize Rural Routes


This command will standardize all possible scenarios for Rural Routes with and without box numbers. This command can be run prior to Validating records or after Validating records if you have many Undeliverable rural route addresses.

The Command At Work

Before Command After Command
Before running command
After running command

The Command

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

Replace address with substr(strtran(upper(address),"RR","RR "), at("RR",upper(address))), address with iif(occur(" ",allt(address))>1,left(address,at(" ",address))+allt(str(val(substr(address,at(" ",address),1+at(" ",allt(substr(address,at(" ",address))))))))+" "+IIF(occur(" ",allt(address))>1,allt(substr(address,1+at(" ",address)+at(" ",allt(substr(address,at(" ",address)))))),""),left(address,at(" ",address))+allt(str(val(substr(address,at(" ",address)))))) for left(address,1)="0" or (LEFT(ALLT(address),2)="RR" and !"RR " $ upper(address))

After clicking RUN, the Rural Route addresses will be standardized properly, so AccuZIP6 will have a greater ability to validate them.

« Back to Commands

You guys have indeed been great partners in aiding us with getting our mailings processed through your software and out the door.  I want to say we’ve been with you guys for at least 12 years now, if not longer.  Find something good you stick with it is how I see it.
P.H., Colorado Springs, CO