Changed truncate to leave string alone if it is less than the limit