strings.Contains

将以下英文翻译为中文:

strings.Contains

https://gohugo.io/functions/strings.contains/

Reports whether a string contains a substring.

语法

strings.Contains STRING SUBSTRING
{{ strings.Contains "Hugo" "go" }} → true

The check is case sensitive:

{{ strings.Contains "Hugo" "Go" }} → false