mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 11:22:08 -05:00
449 B
449 B
title | description | categories | menu | keywords | signature | relatedfuncs | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
strings.ContainsAny | Reports whether a string contains any character from a given string. |
|
|
|
|
|
{{ strings.ContainsAny "Hugo" "gm" }} → true
The check is case sensitive:
{{ strings.ContainsAny "Hugo" "Gm" }} → false