strings.ToUpper
strings.TrimSpace
strings.Trim
Returns a slice of s with all leading and trailing white space removed.
strings.TrimSpace(s string) string
아래 값을 입력하면 예제에 즉시 반영됩니다.
fmt
Println
strings
TrimSpace
fmt.Println(strings.TrimSpace(" Hello ")) // "Hello"