Limited the amount of chars in the string.