GoStringstrings.Trim

Returns a slice of s with all leading and trailing cutset characters removed.

문법

strings.Trim(s, cutset string) string