Skip to main content

How to split a large text without space into blocks of 2, 3, 4, 5, …. letters

Tinker tailor tourist spy Forums Bureau of Security and Signals Intelligence Forum How to split a large text without space into blocks of 2, 3, 4, 5, …. letters

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #52539
    F6exb
    Participant

    How to split a large text without space into blocks of 2, 3, 4, 5, …. letters with a spreadsheet.
    • Copy the text in A1.
    • In A10 type 1.
    • In A11 type 6 (if you need blocks of 5).
    • Select A10 and A11 and copy vertically down to NbChar/5.
    • In B10 write: “=STXT($A$1;A10;2)”.
    • Copy vertically.
    • C10: “=B10”.
    • C11: “=CONCATENER(C10;” “;B11)”.
    • Select C11 and extend down.
    • At the bottom, in the last cell, you have the text divided in blocks.

    #52541
    F6exb
    Participant

    Sorry, there is an error:
    Replace
    In B10 write: “=STXT($A$1;A10;2)” with
    In B10 write: “=STXT($A$1;A10;5)”.

    #52967
    Mattyrat2027
    Participant

    @F6exb When you say write: “=STXT($A$1;A10;5)”. do you have to write just =STXT($A$1;A10;5) or the “” as well? I am no good with spreadsheets, sorry! Likewise with “=CONCATENER(C10;” “;B11)” and “B10”.

    Thanks
    P.s. I am using Numbers, which is the Mac Excel, but I don’t know it if it makes a difference.

    #52975
    F6exb
    Participant
    #52974
    F6exb
    Participant

    @Mattyrat2027
    I mean just =STXT($A$1;A10;5) and =CONCATENER(C10;” “;B11).
    In english, STXT is MID and CONCATENER is CONCATENATE

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.