String Attribute Format

String Attribute Format

How can I asign a specific format to a string attribute?