Support 805.461.7300
Sales
Our Technology. Your Success.

Center data in a field

In case you want to center the data in a field, perhaps for the purpose of exporting your data in a centered format, this expression centers the field named First in a 75 character line

SPACE((75-LEN(ALLTRIM(FIRST)))/2)+ALLTRIM(FIRST)

« Back to Commands

Just wanted whoever receives this to know that AccuZIP6 has the best technical support people ever--in any industry. Without Exception they get my vote for #1.
P.D., Silver Spring, MD