--- title: strings.FirstUpper description: Capitalizes the first character of a given string. categories: [functions] keywords: [] menu: docs: parent: functions function: aliases: [] returnType: string signatures: [strings.FirstUpper STRING] relatedFunctions: - strings.FirstUpper - strings.Title - strings.ToLower - strings.ToUpper aliases: [/functions/strings.firstupper] --- ```go-html-template {{ strings.FirstUpper "foo" }} → "Foo" ```