Text formatting to black out some data?

Text formatting to black out some data?

To add some security to my  I would love to be able to import (or display) only the first few digits of a data field.  Is there an easy way to do this?