GO Lang Program to read quoted string
Program
package main
import "fmt"
func main() {
var msg string
fmt.Println("Enter a string within double quotes")
fmt.Scanf("%q", &msg)
fmt.Println(msg)
}
Output
$ go run read-quoted-string.go
Enter a string within double quotes
"Welcome to oodlescoop"
Welcome to oodlescoop