https://github.com/m-farag/explode
Break a string into words based on a specific separator as character
https://github.com/m-farag/explode
cli explode rust string-processing
Last synced: 5 months ago
JSON representation
Break a string into words based on a specific separator as character
- Host: GitHub
- URL: https://github.com/m-farag/explode
- Owner: M-Farag
- Created: 2023-01-28T16:55:30.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-01T19:03:44.000Z (almost 3 years ago)
- Last Synced: 2025-08-08T04:45:52.687Z (6 months ago)
- Topics: cli, explode, rust, string-processing
- Language: Rust
- Homepage:
- Size: 754 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Explode
Breaking a sentence into words based on the space between words
### Ideas
- I converted the sentence characters into bytes
- I track the words with two indexes starting from the string length
- I return the words, the the remaining will be the final word
### Next [TODO]
- [ ] Returning an array of the extracted words
- [x] ~~ Define the words separator (not just the space) ~~