re: Daily Challenge #95 - CamelCase Method VIEW POST

FULL DISCUSSION
 

How about in Go?

func camelcase(s string) string {
    var cameled string
    split := strings.Fields(s)

    for _, v := range split {
        cameled = fmt.Sprintf("%s%s", cameled, strings.Title(v))
    }
    return cameled
}

Playground

code of conduct - report abuse