Skip to content

Break a string into words based on a specific separator as character

Notifications You must be signed in to change notification settings

M-Farag/explode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • ~~ Define the words separator (not just the space) ~~

About

Break a string into words based on a specific separator as character

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages