An open API service indexing awesome lists of open source software.

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

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) ~~