Cause line to wrap to new line after 100 characters

前端 未结 7 1590
慢半拍i
慢半拍i 2020-12-14 08:23

Is there a way in CSS that I can cause the 3rd element in this list, which is longer than the rest, to wrap to a new line if it extends over 100 characters? so that the rest

7条回答
  •  独厮守ぢ
    2020-12-14 08:42

    If you are working with excel you can use this:

    A1 is the cell text

    =IF(LEN(A1)<100;A1;MID(A1;1;100))
    

    Text end after 100 characters

    =IF(LEN(A1)<100;A1;MID(A1;100;LEN(A1)-1))
    

    text starts and ends after 100 to end.

提交回复
热议问题