Added attribute to display a custom number of characters