Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation request: Respace / Chunks #1586

Open
glacialcascade opened this issue May 26, 2023 · 1 comment · May be fixed by #1885
Open

Operation request: Respace / Chunks #1586

glacialcascade opened this issue May 26, 2023 · 1 comment · May be fixed by #1885

Comments

@glacialcascade
Copy link

glacialcascade commented May 26, 2023

Summary

Add given whitespace (or any custom delimiter; I can imagine space and newline being the most useful) at regular intervals to a string. The use case is to separate a large block of text data into chunks.

Example Input

010010000110010101101100011011000110111100100000010101110110111101110010011011000110010000100001 with interval 8 and delimiter space

Example Output

01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100 00100001

@glacialcascade glacialcascade changed the title Operation request: Respace Operation request: Respace / Chunks May 26, 2023
@Odyhibit
Copy link

You can do this already with

Regular Expression
Regex: .{8}
Output Format: List Matches

Find and Replace
Find: \n / Extended
Replace: <-Just type a space here

You example see here

@0xff1ce 0xff1ce linked a pull request Aug 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants