0
hello := "Hello World" replace the word "Dunia" to "Golang" using packages strings
Help im stuck
2 Answers
+ 1
package main
import ("fmt"
"strings")
func main() {
hello := "Hello World"
fmt.Println(strings.Replace(hello,"World","Golang", -1))
}
+ 1
Thanks đ