Add method to limit string to a number of characters