golang string uppercase
package main
import (
"fmt"
"strings"
)
func main() {
// Original string
str := "example string"
// Convert the string to uppercase
upperStr := strings.ToUpper(str)
// Print the original and uppercase strings
fmt.Println("Original String:", str)
fmt.Println("Uppercase String:", upperStr)
}