DEV Community

loading...

Discussion on: Daily Challenge #1 - String Peeler

Collapse
mrdulin profile image
official_dulin

Go:

package kata

func RemoveChar(word string) string {
  return word[1:len(word)-1]
}
Forem Open with the Forem app