Substring Extractor
Lesson 18 of 24 in Coddy's Golang Challenges - Level 1 course.
Challenge
EasyWe have a string like this: "abshvjngsh"
Write a function that takes a string, a start index, and an end index as parameters and returns a new string based on the given positions.
For example, if the start index is 2 and the end index is 7, the result will be "shvjng".
Try it yourself
func extractSubstring() {
}All lessons in Golang Challenges - Level 1
1Introduction
Introduction4Play with Characters
IntroductionString TokenizerSubstring ExtractorCharacter Occurrence CounterString Character PrinterString Reversal & DuplicationWord CounterString CompressionRemoves Duplicate