String Tokenizer
Lesson 17 of 24 in Coddy's Golang Challenges - Level 1 course.
Challenge
EasyWe have a string like this:
"cooddypythongolang"
Write a function that tokenizes a string into words or sentences based on specified delimiters. The function should take the string and delimiter as parameters and return the tokens.
For example, if the delimiter is 6, the result will be: “cooddypythongolang” => “cooddy”, “python”, "golang"
Try it yourself
func insertSpace() {
}All lessons in Golang Challenges - Level 1
1Introduction
Introduction