strings.Contains
Syntax
strings.Contains STRING SUBSTRING
Returns
bool
{{ strings.Contains "Hugo" "go" }} → true
The check is case sensitive:
{{ strings.Contains "Hugo" "Go" }} → false
Syntax
strings.Contains STRING SUBSTRING
Returns
bool
{{ strings.Contains "Hugo" "go" }} → true
The check is case sensitive:
{{ strings.Contains "Hugo" "Go" }} → false