mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
427 B
427 B
title | description | categories | menu | keywords | signature | aliases | relatedfuncs | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
strings.Contains | Reports whether a string contains a substring. |
|
|
|
|
|
{{ strings.Contains "Hugo" "go" }} → true
The check is case sensitive:
{{ strings.Contains "Hugo" "Go" }} → false