Anyway, you should probably do this when displaying the information, not when preparing it.
For example, lets say you end up with several description boxes, each needs a different length. You'd have to prepare several different lengths in advance instead of just limiting the string where you need it.